diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-05-05 00:41:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-05 00:41:31 -0500 |
commit | ce89b2fae14bea9b534cd5f8de843f3e6d5c2f05 (patch) | |
tree | 1c13976355f354aa73a150fb58b882a81f1d628b /src | |
parent | 646eddad5a4e5932ad1a5eda12c4f24853e5ec5e (diff) | |
download | voidsky-ce89b2fae14bea9b534cd5f8de843f3e6d5c2f05.tar.zst |
Add account information to the top of settings (#583)
Diffstat (limited to 'src')
-rw-r--r-- | src/view/screens/Settings.tsx | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/view/screens/Settings.tsx b/src/view/screens/Settings.tsx index 35c7f4552..6ec263c56 100644 --- a/src/view/screens/Settings.tsx +++ b/src/view/screens/Settings.tsx @@ -152,6 +152,19 @@ export const SettingsScreen = withAuthRequired( style={[s.hContentRegion]} contentContainerStyle={!isDesktopWeb && pal.viewLight} scrollIndicatorInsets={{right: 1}}> + <View style={styles.spacer20} /> + <Text type="xl-bold" style={[pal.text, styles.heading]}> + Account + </Text> + <View style={[styles.infoLine]}> + <Text type="lg-medium" style={pal.text}> + Email:{' '} + <Text type="lg" style={pal.text}> + {store.session.currentSession.email} + </Text> + </Text> + </View> + <View style={styles.spacer20} /> <View style={[s.flexRow, styles.heading]}> <Text type="xl-bold" style={pal.text}> Signed in as @@ -451,6 +464,10 @@ const styles = StyleSheet.create({ paddingHorizontal: 18, paddingBottom: 6, }, + infoLine: { + paddingHorizontal: 18, + paddingBottom: 6, + }, profile: { flexDirection: 'row', marginVertical: 6, |