mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-24 10:28:50 +01:00
Fix hasNext in filesController may never reset to false
This commit is contained in:
parent
a37175d92a
commit
e169a5b56c
1 changed files with 4 additions and 0 deletions
|
@ -148,6 +148,10 @@ class FilesController {
|
||||||
if (hasChange) {
|
if (hasChange) {
|
||||||
// load the synced content to stream
|
// load the synced content to stream
|
||||||
unawaited(_reload());
|
unawaited(_reload());
|
||||||
|
} else {
|
||||||
|
_dataStreamController.addWithValue((value) => value.copyWith(
|
||||||
|
hasNext: false,
|
||||||
|
));
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
_isSyncing = false;
|
_isSyncing = false;
|
||||||
|
|
Loading…
Reference in a new issue