diff options
author | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-17 16:09:08 -0700 |
---|---|---|
committer | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-29 12:07:23 -0700 |
commit | ff3f0acadf810cd1b5bf276b9ee926f2c480b7be (patch) | |
tree | cb4210309e1923c9f6aff1da3e9f89d7087ce1b4 /src/screens/profile/SettingsScreen.tsx | |
parent | ad70d44fd106c475ff3ecd680ebb41946e4dc363 (diff) |
TMA 700, Lock image added
Diffstat (limited to 'src/screens/profile/SettingsScreen.tsx')
-rw-r--r-- | src/screens/profile/SettingsScreen.tsx | 8 |
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> |