Skip to content

Commit

Permalink
fix dark color icons
Browse files Browse the repository at this point in the history
  • Loading branch information
pyrossh committed Aug 15, 2023
1 parent a23cdd6 commit 6ee40e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/actions_sheet.dart
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class ActionsSheet extends StatelessWidget {

@override
Widget build(BuildContext context) {
final iconColor = Colors.black.withOpacity(0.9); //Theme.of(context).secondaryHeaderColor;
final iconColor = AppModel.of(context).darkMode ? Colors.white.withOpacity(0.9) : Colors.black.withOpacity(0.9);
final bodySmall = Theme.of(context).textTheme.bodySmall;
final model = ChapterViewModel.of(context);
final audioIcon = model.isPlaying ? Icons.pause_circle_outline : Icons.play_circle_outline;
Expand Down

0 comments on commit 6ee40e5

Please sign in to comment.