Skip to content

Commit

Permalink
refactor(brought back default values)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Palmqvist <[email protected]>
  • Loading branch information
coolusername244 and PalmN72 committed Nov 2, 2023
1 parent 7c7731a commit 8606cbf
Showing 1 changed file with 9 additions and 16 deletions.
25 changes: 9 additions & 16 deletions apps/skolplattformen-app/components/auth.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,16 +60,12 @@ export const Auth: React.FC<AuthProps> = ({ navigation }) => {
<TouchableOpacity
style={styles.settingsLink}
onPress={() => navigation.navigate('Settings')}
accessibilityHint={t(
'auth.a11y_navigate_to_settings'
// defaultValue: 'Navigerar till vyn för inställningar',
)}
accessibilityLabel={t(
'auth.a11y_settings'
// {
// defaultValue: 'Inställningar',
// }
)}
accessibilityHint={t('auth.a11y_navigate_to_settings', {
defaultValue: 'Navigerar till vyn för inställningar',
})}
accessibilityLabel={t('auth.a11y_settings', {
defaultValue: 'Inställningar',
})}
>
<View style={styles.language}>
<SettingsIcon
Expand All @@ -86,12 +82,9 @@ export const Auth: React.FC<AuthProps> = ({ navigation }) => {
<Image
source={require('../assets/boys.png')}
style={styles.image as ImageStyle}
accessibilityHint={t(
'login.a11y_image_two_boys'
// {
// defaultValue: 'Bild på två personer som kollar i mobilen',
// }
)}
accessibilityHint={t('login.a11y_image_two_boys', {
defaultValue: 'Bild på två personer som kollar i mobilen',
})}
resizeMode="contain"
accessibilityIgnoresInvertColors={false}
/>
Expand Down

0 comments on commit 8606cbf

Please sign in to comment.