From b7bac5d1bebf138098eaa682e2d1a3e49438b876 Mon Sep 17 00:00:00 2001 From: appflowy Date: Tue, 9 Nov 2021 23:14:46 +0800 Subject: [PATCH] [flutter]: add missing commit files --- app_flowy/lib/workspace/domain/page_stack/page_stack.dart | 2 +- .../lib/workspace/presentation/stack_page/blank/blank_page.dart | 2 +- .../lib/workspace/presentation/stack_page/trash/trash_page.dart | 2 +- app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app_flowy/lib/workspace/domain/page_stack/page_stack.dart b/app_flowy/lib/workspace/domain/page_stack/page_stack.dart index 5654f0eb0c..1534e86a4f 100644 --- a/app_flowy/lib/workspace/domain/page_stack/page_stack.dart +++ b/app_flowy/lib/workspace/domain/page_stack/page_stack.dart @@ -31,7 +31,7 @@ abstract class HomeStackContext with NavigationItem { @override Widget get naviTitle; - Widget? Function(BuildContext context) get buildNavigationActions; + Widget? Function(BuildContext context) get buildNaviAction; @override String get identifier; diff --git a/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart b/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart index cf57917db5..a38b307a79 100644 --- a/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart +++ b/app_flowy/lib/workspace/presentation/stack_page/blank/blank_page.dart @@ -12,7 +12,7 @@ class BlankStackContext extends HomeStackContext { Widget get naviTitle => const FlowyText.medium('Blank page', fontSize: 12); @override - Widget? Function(BuildContext context) get buildNavigationActions => (_) => null; + Widget? Function(BuildContext context) get buildNaviAction => (_) => null; @override HomeStackType get type => HomeStackType.blank; diff --git a/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart b/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart index 53398869b3..f641cc002e 100644 --- a/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart +++ b/app_flowy/lib/workspace/presentation/stack_page/trash/trash_page.dart @@ -29,7 +29,7 @@ class TrashStackContext extends HomeStackContext { Widget get naviTitle => const FlowyText.medium('Trash', fontSize: 12); @override - Widget? Function(BuildContext context) get buildNavigationActions => (_) => null; + Widget? Function(BuildContext context) get buildNaviAction => (_) => null; @override HomeStackType get type => HomeStackType.trash; diff --git a/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart b/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart index d31db5de29..83e2010ca2 100644 --- a/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart +++ b/app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart @@ -26,7 +26,7 @@ class HomeTopBar extends StatelessWidget { value: Provider.of(context, listen: false), child: Consumer( builder: (BuildContext context, HomeStackNotifier notifier, Widget? child) { - return notifier.stackContext.buildNavigationActions(context) ?? const SizedBox(); + return notifier.stackContext.buildNaviAction(context) ?? const SizedBox(); }, ), ) // _renderMoreButton(),