Skip to content

Commit

Permalink
feat: Implement tooltip for cover art wall icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Losses committed Oct 29, 2024
1 parent 28bdfbd commit 3d256c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/screens/cover_wall/utils/primary_command_bar_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ class PrimaryCommandBarItem extends CommandBarItem {

@override
Widget build(BuildContext context, CommandBarItemDisplayMode displayMode) {
return entry.controllerButtonBuilder(context, shadows);
return Tooltip(
message: entry.tooltipBuilder(context),
child: entry.controllerButtonBuilder(context, shadows),
);
}
}

0 comments on commit 3d256c0

Please sign in to comment.