fixed settings page not updating on storage permission granted
All checks were successful
Flutter APK Build / Build Flutter APK (push) Successful in 6m42s
All checks were successful
Flutter APK Build / Build Flutter APK (push) Successful in 6m42s
This commit is contained in:
@@ -64,7 +64,8 @@ class _SettingsPageState extends State<SettingsPage> {
|
|||||||
: Text(
|
: Text(
|
||||||
'For app-data settings to work, you need to grant the app permissions to manage internal storage.',
|
'For app-data settings to work, you need to grant the app permissions to manage internal storage.',
|
||||||
),
|
),
|
||||||
onTap: () => PermissionService.requestStoragePermission,
|
onTap: () => PermissionService.requestStoragePermission
|
||||||
|
.whenComplete(() => checkStoragePermission()),
|
||||||
trailing: Icon(Icons.arrow_forward_ios_rounded),
|
trailing: Icon(Icons.arrow_forward_ios_rounded),
|
||||||
enabled: !storagePermissionIsGranted,
|
enabled: !storagePermissionIsGranted,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user