diff --git a/src/ui/flutter_app/lib/appearance_settings/widgets/appearance_settings_page.dart b/src/ui/flutter_app/lib/appearance_settings/widgets/appearance_settings_page.dart index ec1dc9117..5755583f0 100644 --- a/src/ui/flutter_app/lib/appearance_settings/widgets/appearance_settings_page.dart +++ b/src/ui/flutter_app/lib/appearance_settings/widgets/appearance_settings_page.dart @@ -394,16 +394,10 @@ class AppearanceSettingsPage extends StatelessWidget { resizeToAvoidBottomInset: false, backgroundColor: AppTheme.lightBackgroundColor, appBar: AppBar( - leading: Semantics( - label: S.of(context).menu, - child: CustomDrawerIcon.of(context)?.drawerIcon, - ), - title: Semantics( - header: true, - child: Text( - S.of(context).appearance, - style: AppTheme.appBarTheme.titleTextStyle, - ), + leading: CustomDrawerIcon.of(context)?.drawerIcon, + title: Text( + S.of(context).appearance, + style: AppTheme.appBarTheme.titleTextStyle, ), ), body: SettingsList( diff --git a/src/ui/flutter_app/lib/general_settings/widgets/general_settings_page.dart b/src/ui/flutter_app/lib/general_settings/widgets/general_settings_page.dart index a3356b7ea..b53b09d04 100644 --- a/src/ui/flutter_app/lib/general_settings/widgets/general_settings_page.dart +++ b/src/ui/flutter_app/lib/general_settings/widgets/general_settings_page.dart @@ -440,10 +440,7 @@ class GeneralSettingsPage extends StatelessWidget { resizeToAvoidBottomInset: false, backgroundColor: AppTheme.lightBackgroundColor, appBar: AppBar( - leading: Semantics( - label: S.of(context).menu, - child: CustomDrawerIcon.of(context)?.drawerIcon, - ), + leading: CustomDrawerIcon.of(context)?.drawerIcon, title: Text( S.of(context).generalSettings, style: AppTheme.appBarTheme.titleTextStyle, diff --git a/src/ui/flutter_app/lib/misc/about_page.dart b/src/ui/flutter_app/lib/misc/about_page.dart index f270cd7e9..fadea4e5b 100644 --- a/src/ui/flutter_app/lib/misc/about_page.dart +++ b/src/ui/flutter_app/lib/misc/about_page.dart @@ -136,10 +136,7 @@ class AboutPage extends StatelessWidget { resizeToAvoidBottomInset: false, backgroundColor: AppTheme.aboutPageBackgroundColor, appBar: AppBar( - leading: Semantics( - label: S.of(context).menu, - child: CustomDrawerIcon.of(context)?.drawerIcon, - ), + leading: CustomDrawerIcon.of(context)?.drawerIcon, title: Text( S.of(context).about, style: AppTheme.appBarTheme.titleTextStyle, diff --git a/src/ui/flutter_app/lib/misc/how_to_play_screen.dart b/src/ui/flutter_app/lib/misc/how_to_play_screen.dart index 90ea499e2..41be4667e 100644 --- a/src/ui/flutter_app/lib/misc/how_to_play_screen.dart +++ b/src/ui/flutter_app/lib/misc/how_to_play_screen.dart @@ -16,10 +16,7 @@ class HowToPlayScreen extends StatelessWidget { appBar: AppBar( elevation: 0.0, backgroundColor: DB().colorSettings.darkBackgroundColor, - leading: Semantics( - label: S.of(context).menu, - child: CustomDrawerIcon.of(context)?.drawerIcon, - ), + leading: CustomDrawerIcon.of(context)?.drawerIcon, title: Text( S.of(context).howToPlay, style: AppTheme.helpTextStyle, diff --git a/src/ui/flutter_app/lib/rule_settings/widgets/rule_settings_page.dart b/src/ui/flutter_app/lib/rule_settings/widgets/rule_settings_page.dart index 66eb0d094..e7c374152 100644 --- a/src/ui/flutter_app/lib/rule_settings/widgets/rule_settings_page.dart +++ b/src/ui/flutter_app/lib/rule_settings/widgets/rule_settings_page.dart @@ -435,10 +435,7 @@ class RuleSettingsPage extends StatelessWidget { resizeToAvoidBottomInset: false, backgroundColor: AppTheme.lightBackgroundColor, appBar: AppBar( - leading: Semantics( - label: S.of(context).menu, - child: CustomDrawerIcon.of(context)?.drawerIcon, - ), + leading: CustomDrawerIcon.of(context)?.drawerIcon, title: Text( S.of(context).ruleSettings, style: AppTheme.appBarTheme.titleTextStyle,