mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-15 00:12:22 -06:00
Further migrations to route based navigation, improved saved view logic
This commit is contained in:
@@ -35,6 +35,10 @@ class SavedViewCubit extends Cubit<SavedViewState> {
|
||||
return _savedViewRepository.delete(view);
|
||||
}
|
||||
|
||||
Future<SavedView> update(SavedView view) async {
|
||||
return await _savedViewRepository.update(view);
|
||||
}
|
||||
|
||||
Future<void> reload() async {
|
||||
final views = await _savedViewRepository.findAll();
|
||||
final values = {for (var element in views) element.id!: element};
|
||||
|
||||
Reference in New Issue
Block a user