mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-08-16 08:00:23 +02:00
chore(i18n): localize folder-access download errors, drop em dashes
The two folder-access failure messages are stored on items as fixed English sentinels so code can match on them; translate the known sentinels at display time (error dialog and failed-row message) via new downloadErrorSafPermissionLost / downloadErrorFolderAccessLost keys. Also replace em dashes in recently added comments.
This commit is contained in:
@@ -2068,7 +2068,7 @@ class PlatformBridge {
|
||||
|
||||
/// Present the native iOS folder picker. The security-scoped bookmark is
|
||||
/// created inside the picker callback while its access grant is still
|
||||
/// active — creating it later from a bare path loses the grant.
|
||||
/// active; creating it later from a bare path loses the grant.
|
||||
/// Returns null when the user cancels; throws on picker/bookmark failure.
|
||||
static Future<IosPickedDirectory?> pickIosDirectory() async {
|
||||
final result = await _channel.invokeMethod('pickIosDirectory');
|
||||
|
||||
Reference in New Issue
Block a user