浏览代码

[flutter]: add missing commit files

appflowy 3 年之前
父节点
当前提交
b7bac5d1be

+ 1 - 1
app_flowy/lib/workspace/domain/page_stack/page_stack.dart

@@ -31,7 +31,7 @@ abstract class HomeStackContext<T, S> with NavigationItem {
   @override
   @override
   Widget get naviTitle;
   Widget get naviTitle;
 
 
-  Widget? Function(BuildContext context) get buildNavigationActions;
+  Widget? Function(BuildContext context) get buildNaviAction;
 
 
   @override
   @override
   String get identifier;
   String get identifier;

+ 1 - 1
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);
   Widget get naviTitle => const FlowyText.medium('Blank page', fontSize: 12);
 
 
   @override
   @override
-  Widget? Function(BuildContext context) get buildNavigationActions => (_) => null;
+  Widget? Function(BuildContext context) get buildNaviAction => (_) => null;
 
 
   @override
   @override
   HomeStackType get type => HomeStackType.blank;
   HomeStackType get type => HomeStackType.blank;

+ 1 - 1
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);
   Widget get naviTitle => const FlowyText.medium('Trash', fontSize: 12);
 
 
   @override
   @override
-  Widget? Function(BuildContext context) get buildNavigationActions => (_) => null;
+  Widget? Function(BuildContext context) get buildNaviAction => (_) => null;
 
 
   @override
   @override
   HomeStackType get type => HomeStackType.trash;
   HomeStackType get type => HomeStackType.trash;

+ 1 - 1
app_flowy/lib/workspace/presentation/widgets/home_top_bar.dart

@@ -26,7 +26,7 @@ class HomeTopBar extends StatelessWidget {
             value: Provider.of<HomeStackNotifier>(context, listen: false),
             value: Provider.of<HomeStackNotifier>(context, listen: false),
             child: Consumer(
             child: Consumer(
               builder: (BuildContext context, HomeStackNotifier notifier, Widget? child) {
               builder: (BuildContext context, HomeStackNotifier notifier, Widget? child) {
-                return notifier.stackContext.buildNavigationActions(context) ?? const SizedBox();
+                return notifier.stackContext.buildNaviAction(context) ?? const SizedBox();
               },
               },
             ),
             ),
           ) // _renderMoreButton(),
           ) // _renderMoreButton(),