chore(mobile): Apply stricter linting rules for correctness (#30372)

* chore(mobile): Apply stricter linting rules for correctness

* Added discarded_futures rule
This commit is contained in:
Adam Gastineau 2026-07-30 12:39:24 -07:00 committed by GitHub
parent 6b99f02232
commit e7aace436d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
125 changed files with 859 additions and 632 deletions

View file

@ -126,7 +126,7 @@ void _onNavigationSelected(TabsRouter router, int index, WidgetRef ref) {
// Album page
if (index == kAlbumTabIndex) {
ref.read(remoteAlbumProvider.notifier).refresh();
unawaited(ref.read(remoteAlbumProvider.notifier).refresh());
}
// Library page
@ -168,7 +168,7 @@ class _BottomNavigationBarState extends ConsumerState<_BottomNavigationBar> {
@override
void dispose() {
_eventSubscription?.cancel();
unawaited(_eventSubscription?.cancel());
super.dispose();
}