mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
Merge pull request #1121 from AppFlowy-IO/fix/black_page_after_delete_doc
chore: open next page when current page get deleted
This commit is contained in:
@ -53,7 +53,9 @@ class TrashPluginDisplay extends PluginDisplay {
|
||||
Widget? get rightBarItem => null;
|
||||
|
||||
@override
|
||||
Widget buildWidget() => const TrashPage(key: ValueKey('TrashPage'));
|
||||
Widget buildWidget(PluginContext context) => const TrashPage(
|
||||
key: ValueKey('TrashPage'),
|
||||
);
|
||||
|
||||
@override
|
||||
List<NavigationItem> get navigationItems => [this];
|
||||
|
Reference in New Issue
Block a user