Skip to content

Commit

Permalink
style: move open source to development section in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mrzmyr committed Feb 6, 2023
1 parent db024a8 commit 1e0d7d6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions src/screens/Settings/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -187,14 +187,6 @@ export const SettingsScreen = ({ navigation }: RootStackScreenProps<'Settings'>)
iconLeft={<Shield width={18} color={colors.menuListItemIcon} />}
isLink
/>
<MenuListItem
title={t('app_is_open_source')}
onPress={() => {
Linking.openURL('https://github.com/mrzmyr/pixy-mood-tracker-app')
}}
iconLeft={<Github width={18} color={colors.menuListItemIcon} />}
isLast
/>
</MenuList>

<MenuListHeadline>{t('settings_development')}</MenuListHeadline>
Expand All @@ -213,6 +205,13 @@ export const SettingsScreen = ({ navigation }: RootStackScreenProps<'Settings'>)
onPress={() => navigation.navigate('DevelopmentTools')}
isLink
/>
<MenuListItem
title={t('app_is_open_source')}
onPress={() => {
Linking.openURL('https://github.com/mrzmyr/pixy-mood-tracker-app')
}}
iconLeft={<Github width={18} color={colors.menuListItemIcon} />}
/>
<MenuListItem
title={t('licenses')}
iconLeft={<Award width={18} color={colors.menuListItemIcon} />}
Expand Down

0 comments on commit 1e0d7d6

Please sign in to comment.