Skip to content

Commit

Permalink
Merge pull request #1524 from synonymdev/fix/app-status-ui
Browse files Browse the repository at this point in the history
fix(settings): Fix ui issues on app status screen
  • Loading branch information
ovitrif authored Jan 30, 2024
2 parents a57a4d4 + 2a6e59a commit 8e065cc
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 16 deletions.
1 change: 1 addition & 0 deletions src/components/NavigationHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@ const styles = StyleSheet.create({
},
title: {
textAlign: 'center',
width: '100%',
},
action: {
flex: 1,
Expand Down
27 changes: 11 additions & 16 deletions src/screens/Settings/AppStatus/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -202,33 +202,28 @@ const AppStatus = ({}: SettingsScreenProps<'AppStatus'>): ReactElement => {
];

return (
<ThemedView style={styles.container}>
<SettingsView
title={t('status.title')}
fullHeight={true}
showBackNavigation={true}>
<ScrollView style={styles.statusRoot}>
{items.map((it) => (
<Status key={it.item} {...it} />
))}
</ScrollView>
</SettingsView>
</ThemedView>
<SettingsView
title={t('status.title')}
fullHeight={true}
showBackNavigation={true}>
<ScrollView style={styles.statusRoot}>
{items.map((it) => (
<Status key={it.item} {...it} />
))}
</ScrollView>
</SettingsView>
);
};

const styles = StyleSheet.create({
container: {
flex: 1,
},
statusRoot: {
flex: 1,
},
status: {
marginHorizontal: 16,
borderBottomWidth: 1,
borderBottomColor: 'rgba(255, 255, 255, 0.1)',
height: 56,
height: 76,
flexDirection: 'row',
alignItems: 'center',
},
Expand Down

0 comments on commit 8e065cc

Please sign in to comment.