added missing tooltips

This commit is contained in:
Thibault Deckers 2020-11-22 18:37:42 +09:00
parent 318010b66c
commit ed249f7793
4 changed files with 4 additions and 1 deletions

View file

@ -44,6 +44,7 @@ class AlbumPickAppBar extends StatelessWidget {
IconButton( IconButton(
icon: Icon(AIcons.sort), icon: Icon(AIcons.sort),
onPressed: () => actionDelegate.onActionSelected(context, ChipSetAction.sort), onPressed: () => actionDelegate.onActionSelected(context, ChipSetAction.sort),
tooltip: 'Sort…',
), ),
], ],
floating: true, floating: true,

View file

@ -43,7 +43,7 @@ class InfoPageState extends State<InfoPage> {
key: Key('back-button'), key: Key('back-button'),
icon: Icon(AIcons.goUp), icon: Icon(AIcons.goUp),
onPressed: _goToImage, onPressed: _goToImage,
tooltip: 'Back to image', tooltip: 'Back to media',
), ),
title: Text('Info'), title: Text('Info'),
floating: true, floating: true,

View file

@ -45,6 +45,7 @@ class ExpandableFilterRow extends StatelessWidget {
IconButton( IconButton(
icon: Icon(isExpanded ? AIcons.collapse : AIcons.expand), icon: Icon(isExpanded ? AIcons.collapse : AIcons.expand),
onPressed: () => expandedNotifier.value = isExpanded ? null : title, onPressed: () => expandedNotifier.value = isExpanded ? null : title,
tooltip: isExpanded ? 'Collapse' : 'Expand',
), ),
], ],
), ),

View file

@ -16,6 +16,7 @@ class SearchButton extends StatelessWidget {
key: Key('search-button'), key: Key('search-button'),
icon: Icon(AIcons.search), icon: Icon(AIcons.search),
onPressed: () => _goToSearch(context), onPressed: () => _goToSearch(context),
tooltip: 'Search',
); );
} }