mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-10-10 18:04:06 +02:00
feat(android13): make All Files Access optional
- Android 13+ now only requires READ_MEDIA_AUDIO by default - MANAGE_EXTERNAL_STORAGE is optional and can be enabled in Settings - Added 'All Files Access' toggle in Download Settings (Android 13+ only) - Users who encounter write errors can enable full storage access - Respects privacy-conscious users who prefer limited permissions
This commit is contained in:
1 parent
020ac32ee6
commit
9bbd774175
20 files changed
+526
-42
No files matched your search
@@ -251,6 +251,11 @@ class SettingsNotifier extends Notifier<AppSettings> {
|
||||
state = state.copyWith(lossyBitrate: bitrate, lossyFormat: format);
|
||||
_saveSettings();
|
||||
}
|
||||
|
||||
void setUseAllFilesAccess(bool enabled) {
|
||||
state = state.copyWith(useAllFilesAccess: enabled);
|
||||
_saveSettings();
|
||||
}
|
||||
}
|
||||
|
||||
final settingsProvider = NotifierProvider<SettingsNotifier, AppSettings>(
|
||||
|
||||
Reference in new issue
Block a user