File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,7 @@ class HomeViewStateNotifier extends StateNotifier<HomeViewState>
261
261
/// Loads medias from local, google drive and dropbox.
262
262
/// it append the medias to the existing medias if reload is false.
263
263
/// 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 {
265
265
if (state.cloudLoading && ! force) return ;
266
266
state = state.copyWith (loading: true , cloudLoading: true , error: null );
267
267
try {
@@ -698,7 +698,6 @@ class HomeViewStateNotifier extends StateNotifier<HomeViewState>
698
698
699
699
@override
700
700
Future <void > dispose () async {
701
- await _googleAccountSubscription? .cancel ();
702
701
_mediaProcessRepo.removeListener (_mediaProcessObserve);
703
702
super .dispose ();
704
703
}
You can’t perform that action at this time.
0 commit comments