mirror of
https://github.com/immich-app/immich
synced 2026-08-15 13:03:57 +00:00
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:
parent
6b99f02232
commit
e7aace436d
125 changed files with 859 additions and 632 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue