fix: remove app from homepage url (#7233)

* fix: remove app from namespace url

* fix: banner issue on mobile

* Revert "fix: remove app from namespace url"

This reverts commit 4bd5f3f590.

* fix: remove app from namespace url
This commit is contained in:
Lucas 2025-01-17 20:55:22 +08:00 committed by GitHub
parent 1723886f3a
commit aa8c9bad9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 2 deletions

View file

@ -178,7 +178,9 @@ class _DocumentPageState extends State<DocumentPage>
editorState: state.editorState!,
child: Column(
children: [
if (state.isDeleted) buildBanner(context),
// the banner only shows on desktop
if (state.isDeleted && UniversalPlatform.isDesktop)
buildBanner(context),
Expanded(child: child),
],
),