Skip to content

Commit

Permalink
accessiblity: Fix drawer icon cannot be readed
Browse files Browse the repository at this point in the history
  • Loading branch information
calcitem committed Apr 14, 2024
1 parent 5a29289 commit ebdd290
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/ui/flutter_app/lib/custom_drawer/custom_drawer.dart
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import 'package:extended_sliver/extended_sliver.dart';
import 'package:flutter/material.dart';
import 'package:marquee/marquee.dart';

import '../generated/intl/l10n.dart';
import '../shared/config/constants.dart';
import '../shared/database/database.dart';
import '../shared/themes/app_theme.dart';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,9 @@ class CustomDrawerState extends State<CustomDrawer>
icon: AnimatedIcon(
icon: AnimatedIcons.arrow_menu,
progress: ReverseAnimation(_drawerAnimationController),
semanticLabel: S.of(context).menu,
color: Colors.white,
),
tooltip: MaterialLocalizations.of(context).openAppDrawerTooltip,
onPressed: () => _drawerController.toggleDrawer(),
);

Expand Down

0 comments on commit ebdd290

Please sign in to comment.