diff options
author | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-29 13:07:51 -0700 |
---|---|---|
committer | ankit-thanekar007 <ankit.thanekar007@gmail.com> | 2021-03-29 13:07:51 -0700 |
commit | bc1f377dfe4033f2fad28b7852dc09a72e0bd43e (patch) | |
tree | 721015410c6ea4b0e1a443a0d489f8a578ae8a11 /src/screens/profile/SettingsScreen.tsx | |
parent | 3802fbd5d7f7c9ca70060f53af993356d946483d (diff) |
Logout remaining
Diffstat (limited to 'src/screens/profile/SettingsScreen.tsx')
-rw-r--r-- | src/screens/profile/SettingsScreen.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/screens/profile/SettingsScreen.tsx b/src/screens/profile/SettingsScreen.tsx index cb049a96..88962f71 100644 --- a/src/screens/profile/SettingsScreen.tsx +++ b/src/screens/profile/SettingsScreen.tsx @@ -1,20 +1,20 @@ import React from 'react'; import { + SafeAreaView, SectionList, StatusBar, StyleSheet, Text, TouchableOpacity, - SafeAreaView, View, } from 'react-native'; import {useSelector} from 'react-redux'; import {RootState} from 'src/store/rootReducer'; import {Background} from '../../components'; +import {SETTINGS_DATA} from '../../constants/constants'; import {BackgroundGradientType} from '../../types'; -import {normalize} from '../../utils/layouts'; +import {normalize, SCREEN_HEIGHT} from '../../utils/layouts'; import SettingsCell from './SettingsCell'; -import {SETTINGS_DATA} from '../../constants/constants'; const SettingsScreen: React.FC = () => { const {suggested_people_linked} = useSelector( @@ -28,6 +28,7 @@ const SettingsScreen: React.FC = () => { <SafeAreaView> <View style={styles.container}> <SectionList + stickySectionHeadersEnabled={false} sections={SETTINGS_DATA.SettingsAndPrivacy} keyExtractor={(item, index) => item.title + index} renderItem={({item: {title, preimage, postimage}}) => ( @@ -56,7 +57,7 @@ const SettingsScreen: React.FC = () => { }; const styles = StyleSheet.create({ - container: {marginHorizontal: '8%', marginTop: '8%'}, + container: {height: SCREEN_HEIGHT, marginHorizontal: '8%', marginTop: '8%'}, headerContainerStyles: {marginTop: '14%'}, headerTextStyles: { fontSize: normalize(18), |