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:
Nathan.fooo
2022-09-22 14:39:48 +08:00
committed by GitHub
25 changed files with 312 additions and 177 deletions

View File

@ -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];