refactor(ui): Use IconButton's tooltip method instead of the Tooltip widget in BrandHeroScreen
This commit is contained in:
parent
5cfeb8aba8
commit
104beea2d6
|
@ -142,8 +142,6 @@ class _HeroSliverAppBarState extends State<HeroSliverAppBar> {
|
|||
if (widget.hasFlashButton && isMobile)
|
||||
AnimatedSwitcher(
|
||||
duration: const Duration(milliseconds: 300),
|
||||
child: Tooltip(
|
||||
message: 'jobs.title'.tr(),
|
||||
child: IconButton(
|
||||
onPressed: () {
|
||||
showModalBottomSheet(
|
||||
|
@ -167,7 +165,7 @@ class _HeroSliverAppBarState extends State<HeroSliverAppBar> {
|
|||
color: isJobsListEmpty
|
||||
? Theme.of(context).colorScheme.onBackground
|
||||
: Theme.of(context).colorScheme.primary,
|
||||
),
|
||||
tooltip: 'jobs.title'.tr(),
|
||||
),
|
||||
),
|
||||
const SizedBox.shrink(),
|
||||
|
|
Loading…
Reference in New Issue