mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-25 15:17:28 -04:00
fix: hide breadcrumbs for deleted pages and show trash (#6512)
* fix: hide breadcrumbs for deleted pages and show trash * fix: copy for banner and trash deletion * test: add base test * test: expand on test * test: fix test * test: fix failing test
This commit is contained in:
parent
ea670b6ae6
commit
af08b4c004
10 changed files with 215 additions and 22 deletions
|
@ -175,6 +175,7 @@ class _DocumentPageState extends State<DocumentPage>
|
|||
|
||||
Widget buildBanner(BuildContext context) {
|
||||
return DocumentBanner(
|
||||
viewName: widget.view.name,
|
||||
onRestore: () =>
|
||||
context.read<DocumentBloc>().add(const DocumentEvent.restorePage()),
|
||||
onDelete: () => context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue