mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: local audio doesn't get refreshed after getting permission
This commit is contained in:
parent
abf4a5763a
commit
618c6da0eb
@ -142,6 +142,7 @@ class UserLocalTracks extends HookConsumerWidget {
|
||||
if (!await Permission.storage.isGranted &&
|
||||
!await Permission.storage.isLimited) {
|
||||
await Permission.storage.request();
|
||||
ref.refresh(localTracksProvider);
|
||||
}
|
||||
},
|
||||
null,
|
||||
|
Loading…
Reference in New Issue
Block a user