mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-13 16:05:18 +00:00
chore: system tray icon and pagination not working
This commit is contained in:
parent
4d57b134a3
commit
6940e92142
@ -27,7 +27,7 @@ abstract class FamilyPaginatedAsyncNotifier<K, A>
|
||||
final items = newState.items.isEmpty ? <K>[] : newState.items.cast<K>();
|
||||
|
||||
state = AsyncData(newState.copyWith(items: <K>[...oldItems, ...items]));
|
||||
} finally {
|
||||
} catch (e) {
|
||||
state = AsyncData(oldState!);
|
||||
}
|
||||
}
|
||||
@ -78,7 +78,7 @@ abstract class AutoDisposeFamilyPaginatedAsyncNotifier<K, A>
|
||||
...newState.items.cast<K>(),
|
||||
]),
|
||||
);
|
||||
} finally {
|
||||
} catch (e) {
|
||||
state = AsyncData(oldState!);
|
||||
}
|
||||
}
|
||||
|
@ -28,7 +28,7 @@ mixin PaginatedAsyncNotifierMixin<K>
|
||||
final items = newState.items.isEmpty ? <K>[] : newState.items.cast<K>();
|
||||
|
||||
state = AsyncData(newState.copyWith(items: <K>[...oldItems, ...items]));
|
||||
} finally {
|
||||
} catch (e) {
|
||||
state = AsyncData(oldState!);
|
||||
}
|
||||
}
|
||||
|
@ -203,6 +203,7 @@ flutter:
|
||||
- assets/images/logos/
|
||||
- assets/branding/spotube-logo.png
|
||||
- assets/branding/spotube-logo-light.png
|
||||
- assets/branding/spotube-logo.ico
|
||||
- LICENSE
|
||||
- packages/flutter_undraw/assets/undraw/access_denied.svg
|
||||
- packages/flutter_undraw/assets/undraw/fixing_bugs.svg
|
||||
|
Loading…
Reference in New Issue
Block a user