fix: use database sync bloc in database page (#5183)

This commit is contained in:
Lucas.Xu 2024-04-23 13:49:51 +08:00 committed by GitHub
parent 0355ca5d73
commit bf64b0d2fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -83,7 +83,9 @@ class _MobileViewPageState extends State<MobileViewPage> {
view: view,
),
const HSpace(16.0),
DocumentSyncIndicator(view: view),
view.layout == ViewLayoutPB.Document
? DocumentSyncIndicator(view: view)
: DatabaseSyncIndicator(view: view),
const HSpace(8.0),
],
_buildAppBarMoreButton(view),