fix: mobile regression (#4747)

This commit is contained in:
Richard Shiue 2024-02-27 10:51:32 +08:00 committed by GitHub
parent faea0fa532
commit 74233d2606
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,10 +71,9 @@ class _MobileViewPageState extends State<MobileViewPage> {
body = state.data!.fold((view) { body = state.data!.fold((view) {
viewPB = view; viewPB = view;
actions.add(_buildAppBarMoreButton(view)); actions.add(_buildAppBarMoreButton(view));
return view final plugin = view.plugin(arguments: widget.arguments ?? const {})
.plugin(arguments: widget.arguments ?? const {}) ..init();
.widgetBuilder return plugin.widgetBuilder.buildWidget(shrinkWrap: false);
.buildWidget(shrinkWrap: false);
}, (error) { }, (error) {
return FlowyMobileStateContainer.error( return FlowyMobileStateContainer.error(
emoji: '😔', emoji: '😔',