Fixes language switch button being partially unclickable

ExpandedScrollingColumn is on top of the AppHeader and blocks presses on the left half of the language switch button. This commit moves the AppHeader to the top of the stack.
This commit is contained in:
Yang Fang 2023-09-01 13:40:30 -07:00 committed by GitHub
parent d369891d1e
commit fc60942b66
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,12 +61,6 @@ class _HomeMenuState extends State<HomeMenu> {
PopNavigatorUnderlay(), PopNavigatorUnderlay(),
AppHeader(
isTransparent: true,
backIcon: AppIcons.close,
trailing: (_) => LocaleSwitcher(),
),
/// Content /// Content
SafeArea( SafeArea(
child: Center( child: Center(
@ -90,6 +84,12 @@ class _HomeMenuState extends State<HomeMenu> {
), ),
), ),
), ),
AppHeader(
isTransparent: true,
backIcon: AppIcons.close,
trailing: (_) => LocaleSwitcher(),
),
], ],
); );
} }