feat: wrap with semantic widget for talkback

This commit is contained in:
detherminal 2023-04-27 21:31:54 +03:00
parent 7ea374d6e4
commit 4c145e1412

View file

@ -99,6 +99,9 @@ class _RefreshButtonState extends ConsumerState<WalletRefreshButton> {
return SizedBox(
height: isDesktop ? 22 : 36,
width: isDesktop ? 22 : 36,
child: Semantics(
label: "Refresh Button. Refreshes The Values In Summary.",
excludeSemantics: true,
child: MaterialButton(
color: isDesktop
? Theme.of(context).extension<StackColors>()!.buttonBackSecondary
@ -149,6 +152,7 @@ class _RefreshButtonState extends ConsumerState<WalletRefreshButton> {
.textFavoriteCard,
),
),
)
);
}
}