aboutsummaryrefslogtreecommitdiff
path: root/src/screens/profile/SettingsScreen.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/screens/profile/SettingsScreen.tsx')
-rw-r--r--src/screens/profile/SettingsScreen.tsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/screens/profile/SettingsScreen.tsx b/src/screens/profile/SettingsScreen.tsx
index 79633572..f9d437d0 100644
--- a/src/screens/profile/SettingsScreen.tsx
+++ b/src/screens/profile/SettingsScreen.tsx
@@ -10,7 +10,7 @@ import {
View,
} from 'react-native';
import {SafeAreaView} from 'react-native-safe-area-context';
-import {normalize} from '../../utils/layouts';
+import {normalize, SCREEN_WIDTH} from '../../utils/layouts';
import {Background} from '../../components';
import {BackgroundGradientType} from '../../types';
import {logout} from '../../store/actions';
@@ -102,7 +102,11 @@ const SettingsScreen: React.FC = () => {
postimage: number;
}) => (
<TouchableOpacity onPress={() => getActions(title)} style={styles.item}>
- <Image style={{width: 15, height: 15}} source={preimage} />
+ <Image
+ resizeMode={'cover'}
+ style={{width: SCREEN_WIDTH * 0.05, height: SCREEN_WIDTH * 0.05}}
+ source={preimage}
+ />
<View style={{marginLeft: 40}}>
<Text style={styles.title}>{title}</Text>
</View>