mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: one-frame glitch when deleting all sorts (#3330)
This commit is contained in:
parent
2f6df6a17d
commit
35f84e42cc
@ -210,6 +210,7 @@ class DatabaseDeleteSortButton extends StatelessWidget {
|
|||||||
context
|
context
|
||||||
.read<SortEditorBloc>()
|
.read<SortEditorBloc>()
|
||||||
.add(const SortEditorEvent.deleteAllSorts());
|
.add(const SortEditorEvent.deleteAllSorts());
|
||||||
|
PopoverContainer.of(context).close();
|
||||||
},
|
},
|
||||||
leftIcon: const FlowySvg(FlowySvgs.delete_s),
|
leftIcon: const FlowySvg(FlowySvgs.delete_s),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user