Skip to content

Commit

Permalink
feat: remove accessibility group and move locale to bottom group
Browse files Browse the repository at this point in the history
  • Loading branch information
thoreyjona committed Jul 8, 2024
1 parent 8c6b721 commit 15d80d1
Showing 1 changed file with 13 additions and 18 deletions.
31 changes: 13 additions & 18 deletions apps/native/app/src/screens/settings/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -331,24 +331,7 @@ export const SettingsScreen: NavigationFunctionComponent = ({
}
/> */}
</TableViewGroup>
<TableViewGroup
header={intl.formatMessage({
id: 'settings.accessibilityLayout.groupTitle',
})}
>
<PressableHighlight onPress={onLanguagePress}>
<TableViewCell
title={intl.formatMessage({
id: 'settings.accessibilityLayout.language',
})}
accessory={
<TableViewAccessory>
{locale === 'is-IS' ? 'Íslenska' : 'English'}
</TableViewAccessory>
}
/>
</PressableHighlight>
</TableViewGroup>

<TableViewGroup
header={intl.formatMessage({
id: 'settings.security.groupTitle',
Expand Down Expand Up @@ -555,6 +538,18 @@ export const SettingsScreen: NavigationFunctionComponent = ({
<TableViewGroup
header={intl.formatMessage({ id: 'settings.about.groupTitle' })}
>
<PressableHighlight onPress={onLanguagePress}>
<TableViewCell
title={intl.formatMessage({
id: 'settings.accessibilityLayout.language',
})}
accessory={
<TableViewAccessory>
{locale === 'is-IS' ? 'Íslenska' : 'English'}
</TableViewAccessory>
}
/>
</PressableHighlight>
<TableViewCell
title={intl.formatMessage({ id: 'settings.about.versionLabel' })}
subtitle={`${DeviceInfo.getVersion()} build ${DeviceInfo.getBuildNumber()}`}
Expand Down

0 comments on commit 15d80d1

Please sign in to comment.