4 Commits

Author SHA1 Message Date
446ef9a57a fixed settings page not updating on storage permission granted
All checks were successful
Flutter APK Build / Build Flutter APK (push) Successful in 6m42s
2026-01-23 18:26:08 +01:00
6103d0b679 Merge branch 'development'
Some checks failed
Flutter APK Build / Build Flutter APK (push) Has been cancelled
2026-01-23 18:24:29 +01:00
5fd690197a fixed workflow running on pull request 2026-01-23 18:21:41 +01:00
31c0ade243 fixed settings page not refreshing on granting storage permission
Some checks failed
Flutter APK Build / Build Flutter APK (pull_request) Has been cancelled
2026-01-23 18:18:25 +01:00
2 changed files with 2 additions and 4 deletions

View File

@@ -4,9 +4,6 @@ on:
push: push:
branches: branches:
- main - main
pull_request:
branches:
- main
workflow_dispatch: workflow_dispatch:

View File

@@ -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,
), ),