Removed 'currency' from settings. Made tappable area for settings larger

This commit is contained in:
Marcos Rodriguez Vélez 2018-12-14 11:40:38 -05:00
parent bc8c91608e
commit 523cd3a607
3 changed files with 5 additions and 3 deletions

View File

@ -935,7 +935,7 @@ export class WalletsCarousel extends Component {
let scaleValue = new Animated.Value(1.0);
this.onPressedIn = () => {
Animated.spring(scaleValue, { toValue: 0.90, duration: 100, useNativeDriver: Platform.OS === 'android' }).start();
Animated.spring(scaleValue, { toValue: 0.9, duration: 100, useNativeDriver: Platform.OS === 'android' }).start();
};
this.onPressedOut = () => {
Animated.spring(scaleValue, { toValue: 1.0, duration: 100, useNativeDriver: Platform.OS === 'android' }).start();

View File

@ -44,7 +44,6 @@ export default class Settings extends Component {
<TouchableOpacity onPress={() => this.props.navigation.navigate('Language')}>
<BlueListItem title={loc.settings.language} />
</TouchableOpacity>
<BlueListItem title={loc.settings.currency} />
<TouchableOpacity onPress={() => this.props.navigation.navigate('About')}>
<BlueListItem title={loc.settings.about} />
</TouchableOpacity>

View File

@ -31,7 +31,10 @@ export default class WalletsList extends Component {
elevation: 0,
},
headerRight: (
<TouchableOpacity style={{ marginHorizontal: 16 }} onPress={() => navigation.navigate('Settings')}>
<TouchableOpacity
style={{ marginHorizontal: 16, width: 40, height: 40, justifyContent: 'flex-end', alignContent: 'flex-end' }}
onPress={() => navigation.navigate('Settings')}
>
<Icon name="kebab-horizontal" size={22} type="octicon" color={BlueApp.settings.foregroundColor} />
</TouchableOpacity>
),