mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
fix: new doc button's langauge display issue
This commit is contained in:
parent
cb57d20bfb
commit
18407a0e47
@ -26,7 +26,7 @@ class MenuAppHeader extends StatelessWidget {
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
final theme = context.watch<AppTheme>();
|
||||
final theme = context.read<AppTheme>();
|
||||
return SizedBox(
|
||||
height: MenuAppSizes.headerHeight,
|
||||
child: Row(
|
||||
|
@ -1,3 +1,4 @@
|
||||
import 'package:app_flowy/workspace/application/appearance.dart';
|
||||
import 'package:app_flowy/workspace/presentation/widgets/menu/menu.dart';
|
||||
import 'package:app_flowy/workspace/presentation/widgets/menu/widget/app/header/header.dart';
|
||||
import 'package:expandable/expandable.dart';
|
||||
@ -79,7 +80,10 @@ class _MenuAppState extends State<MenuApp> {
|
||||
iconPadding: EdgeInsets.zero,
|
||||
hasIcon: false,
|
||||
),
|
||||
header: MenuAppHeader(widget.app),
|
||||
header: ChangeNotifierProvider.value(
|
||||
value: Provider.of<AppearanceSettingModel>(context, listen: true),
|
||||
child: MenuAppHeader(widget.app),
|
||||
),
|
||||
expanded: _renderViewSection(notifier),
|
||||
collapsed: const SizedBox(),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user