Skip to content

Commit 0bdacd3

Browse files
authored
Fix pipeline (#81)
1 parent 894a26a commit 0bdacd3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/lib/ui/flow/home/home_screen_view_model.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ class HomeViewStateNotifier extends StateNotifier<HomeViewState>
261261
/// Loads medias from local, google drive and dropbox.
262262
/// it append the medias to the existing medias if reload is false.
263263
/// force will load media event its already loading
264-
Future<void> loadMedias({bool reload = false, bool force: false}) async {
264+
Future<void> loadMedias({bool reload = false, bool force = false}) async {
265265
if (state.cloudLoading && !force) return;
266266
state = state.copyWith(loading: true, cloudLoading: true, error: null);
267267
try {
@@ -698,7 +698,6 @@ class HomeViewStateNotifier extends StateNotifier<HomeViewState>
698698

699699
@override
700700
Future<void> dispose() async {
701-
await _googleAccountSubscription?.cancel();
702701
_mediaProcessRepo.removeListener(_mediaProcessObserve);
703702
super.dispose();
704703
}

0 commit comments

Comments
 (0)