mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 09:50:15 +01:00
Merge pull request #6040 from BlueWallet/Improve-accessibility-of-floating-buttons-(scan,-send,-receive)-#5389
FIX: Improve accessibility of floating buttons (scan, send, receive) …
This commit is contained in:
commit
2fe35ed211
@ -142,7 +142,7 @@ export const FButton = ({ text, icon, width, first, last, ...props }: FButtonPro
|
||||
}
|
||||
|
||||
return (
|
||||
<TouchableOpacity accessibilityRole="button" style={[bStyles.root, bStylesHook.root, style]} {...props}>
|
||||
<TouchableOpacity accessibilityLabel={text} accessibilityRole="button" style={[bStyles.root, bStylesHook.root, style]} {...props}>
|
||||
<View style={bStyles.icon}>{icon}</View>
|
||||
<Text numberOfLines={1} style={[bStyles.text, props.disabled ? bStylesHook.textDisabled : bStylesHook.text]}>
|
||||
{text}
|
||||
|
Loading…
Reference in New Issue
Block a user