Merge pull request #4805 from BlueWallet/fix-kebab-icon-android

FIX: broken kebab-horizontal icon
This commit is contained in:
GLaDOS 2022-06-19 20:49:54 +01:00 committed by GitHub
commit 34e0d39913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 14 deletions

View file

@ -24,14 +24,7 @@ export const TransactionPendingIconBig = props => {
<View {...props}> <View {...props}>
<View style={stylesBlueIconHooks.boxIncoming}> <View style={stylesBlueIconHooks.boxIncoming}>
<View style={[stylesBlueIconHooks.ball2, stylesBlueIconHooks.ball]}> <View style={[stylesBlueIconHooks.ball2, stylesBlueIconHooks.ball]}>
<Icon <Icon {...props} name="more-horiz" type="material" size={100} color={colors.foregroundColor} iconStyle={{ left: 0, top: 25 }} />
{...props}
name="kebab-horizontal"
size={100}
type="octicon"
color={colors.foregroundColor}
iconStyle={{ left: 0, top: 25 }}
/>
</View> </View>
</View> </View>
</View> </View>

View file

@ -29,7 +29,7 @@ const TransactionPendingIcon = props => {
return ( return (
<View style={styles.boxIncoming}> <View style={styles.boxIncoming}>
<View style={[styles.ball, stylesHook.ball]}> <View style={[styles.ball, stylesHook.ball]}>
<Icon name="kebab-horizontal" size={16} type="octicon" color={colors.foregroundColor} iconStyle={styles.icon} /> <Icon name="more-horiz" type="material" size={16} color={colors.foregroundColor} iconStyle={styles.icon} />
</View> </View>
</View> </View>
); );

View file

@ -947,7 +947,7 @@ const SendDetails = () => {
onPressMenuItem={headerRightOnPress} onPressMenuItem={headerRightOnPress}
actions={headerRightActions()} actions={headerRightActions()}
> >
<Icon size={22} name="kebab-horizontal" type="octicon" color={colors.foregroundColor} style={styles.advancedOptions} /> <Icon size={22} name="more-horiz" type="material" color={colors.foregroundColor} style={styles.advancedOptions} />
</ToolTipMenu> </ToolTipMenu>
), ),
default: () => ( default: () => (
@ -961,7 +961,7 @@ const SendDetails = () => {
}} }}
testID="advancedOptionsMenuButton" testID="advancedOptionsMenuButton"
> >
<Icon size={22} name="kebab-horizontal" type="octicon" color={colors.foregroundColor} /> <Icon size={22} name="more-horiz" type="material" color={colors.foregroundColor} />
</TouchableOpacity> </TouchableOpacity>
), ),
}), }),

View file

@ -104,13 +104,13 @@ const WalletsList = () => {
headerRight: () => headerRight: () =>
I18nManager.isRTL ? null : ( I18nManager.isRTL ? null : (
<TouchableOpacity accessibilityRole="button" testID="SettingsButton" style={styles.headerTouch} onPress={navigateToSettings}> <TouchableOpacity accessibilityRole="button" testID="SettingsButton" style={styles.headerTouch} onPress={navigateToSettings}>
<Icon size={22} name="kebab-horizontal" type="octicon" color={colors.foregroundColor} /> <Icon size={22} name="more-horiz" type="material" color={colors.foregroundColor} />
</TouchableOpacity> </TouchableOpacity>
), ),
headerLeft: () => headerLeft: () =>
I18nManager.isRTL ? ( I18nManager.isRTL ? (
<TouchableOpacity accessibilityRole="button" testID="SettingsButton" style={styles.headerTouch} onPress={navigateToSettings}> <TouchableOpacity accessibilityRole="button" testID="SettingsButton" style={styles.headerTouch} onPress={navigateToSettings}>
<Icon size={22} name="kebab-horizontal" type="octicon" color={colors.foregroundColor} /> <Icon size={22} name="more-horiz" type="material" color={colors.foregroundColor} />
</TouchableOpacity> </TouchableOpacity>
) : null, ) : null,
}); });

View file

@ -689,7 +689,7 @@ WalletTransactions.navigationOptions = navigationStyle({}, (options, { theme, na
}) })
} }
> >
<Icon name="kebab-horizontal" type="octicon" size={22} color="#FFFFFF" /> <Icon name="more-horiz" type="material" size={22} color="#FFFFFF" />
</TouchableOpacity> </TouchableOpacity>
), ),
title: '', title: '',