mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-09 22:07:53 -06:00
Finished inbox, fixed reverse sort order, bloc refactorings
This commit is contained in:
@@ -79,8 +79,10 @@ class DocumentsCubit extends Cubit<DocumentsState> {
|
||||
}
|
||||
final newFilter = state.filter.copyWith(page: state.filter.page + 1);
|
||||
final result = await documentRepository.find(newFilter);
|
||||
emit(DocumentsState(
|
||||
isLoaded: true, value: [...state.value, result], filter: newFilter));
|
||||
emit(
|
||||
DocumentsState(
|
||||
isLoaded: true, value: [...state.value, result], filter: newFilter),
|
||||
);
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user