Skip to content

Commit

Permalink
Fix pipeline (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-pratik-k authored Dec 20, 2024
1 parent 894a26a commit 0bdacd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/lib/ui/flow/home/home_screen_view_model.dart
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class HomeViewStateNotifier extends StateNotifier<HomeViewState>
/// Loads medias from local, google drive and dropbox.
/// it append the medias to the existing medias if reload is false.
/// force will load media event its already loading
Future<void> loadMedias({bool reload = false, bool force: false}) async {
Future<void> loadMedias({bool reload = false, bool force = false}) async {
if (state.cloudLoading && !force) return;
state = state.copyWith(loading: true, cloudLoading: true, error: null);
try {
Expand Down Expand Up @@ -698,7 +698,6 @@ class HomeViewStateNotifier extends StateNotifier<HomeViewState>

@override
Future<void> dispose() async {
await _googleAccountSubscription?.cancel();
_mediaProcessRepo.removeListener(_mediaProcessObserve);
super.dispose();
}
Expand Down

0 comments on commit 0bdacd3

Please sign in to comment.