refactor(ui): Use IconButton's tooltip method instead of the Tooltip widget in BrandHeroScreen

pull/462/head
Inex Code 2024-04-11 13:53:08 +03:00
parent 5cfeb8aba8
commit 104beea2d6
1 changed files with 23 additions and 25 deletions

View File

@ -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(),