mirror of
https://gitlab.com/nkming2/nc-photos.git
synced 2025-02-02 06:46:22 +01:00
Fix enabling memories not refreshing home photos
This commit is contained in:
parent
0ac88814f7
commit
9275e4c854
1 changed files with 3 additions and 0 deletions
|
@ -420,6 +420,9 @@ class _Bloc extends Bloc<_Event, _State>
|
|||
_SetEnableMemoryCollection ev, Emitter<_State> emit) {
|
||||
_log.info(ev);
|
||||
emit(state.copyWith(isEnableMemoryCollection: ev.value));
|
||||
if (ev.value) {
|
||||
add(const _UpdateMemories());
|
||||
}
|
||||
}
|
||||
|
||||
void _onUpdateDateTimeGroup(_UpdateDateTimeGroup ev, Emitter<_State> emit) {
|
||||
|
|
Loading…
Reference in a new issue