Compare commits

...

2 Commits

Author SHA1 Message Date
mainrs
a7603a6742 chore: correct newly introduced translaction string 2024-05-27 15:00:26 +02:00
mainrs
9ff2fae4ed chore: add toast message to indicate missing persistent permissions 2024-05-27 14:59:14 +02:00
2 changed files with 2 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ object SettingsDataScreen : SearchableSettings {
context.contentResolver.takePersistableUriPermission(uri, flags)
} catch (e: SecurityException) {
logcat(LogPriority.ERROR, e)
context.toast(MR.strings.file_picker_no_uri_permission_supported)
}
UniFile.fromUri(context, uri)?.let {

View File

@@ -869,6 +869,7 @@
<string name="file_select_cover">Select cover image</string>
<string name="file_select_backup">Select backup file</string>
<string name="file_picker_error">No file picker app found</string>
<string name="file_picker_no_uri_permission_supported">Your device does not support persistent folder access. The app might still work without it.</string>
<string name="file_null_uri_error">No file selected</string>
<!--UpdateCheck-->