More work on inbox, refactorings (bloc separation of concerns), fixed saved views wrong sort order

This commit is contained in:
Anton Stubenbord
2022-11-29 01:09:36 +01:00
parent 5edbdabf26
commit 50190f035e
43 changed files with 605 additions and 463 deletions

View File

@@ -16,6 +16,7 @@ class BulkDeleteAction extends BulkAction {
return {
'documents': documentIds.toList(),
'method': 'delete',
'parameters': {},
};
}
}
@@ -33,8 +34,9 @@ class BulkModifyTagsAction extends BulkAction {
BulkModifyTagsAction.addTags(super.documents, this.addTags)
: removeTags = const [];
BulkModifyTagsAction.removeTags(super.documents, this.removeTags)
: addTags = const [];
BulkModifyTagsAction.removeTags(super.documents, Iterable<int> tags)
: addTags = const [],
removeTags = tags;
@override
JSON toJson() {