Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeljscript committed Oct 23, 2024
1 parent 0d0aa8e commit 5fc7374
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 18 deletions.
3 changes: 1 addition & 2 deletions apps/wallet-mobile/src/AppNavigator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import {isString} from '@yoroi/common'
import {supportedPrefixes} from '@yoroi/links'
import {useTheme} from '@yoroi/theme'
import * as React from 'react'
import {useEffect} from 'react'
import {defineMessages, useIntl} from 'react-intl'
import {Alert, AppState, AppStateStatus, InteractionManager, Platform} from 'react-native'
import RNBootSplash from 'react-native-bootsplash'
Expand Down Expand Up @@ -53,7 +52,7 @@ export const AppNavigator = () => {
useHideScreenInAppSwitcher()
const {atoms, color, colorScheme} = useTheme()

useEffect(() => {
React.useEffect(() => {
const buttonsColor = colorScheme === 'default-dark' ? 'light' : 'dark'
SystemNavigationBar.setNavigationColor('transparent', buttonsColor, 'navigation')
}, [colorScheme])
Expand Down
32 changes: 16 additions & 16 deletions apps/wallet-mobile/translations/messages/src/AppNavigator.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,59 +4,59 @@
"defaultMessage": "!!!Enter PIN",
"file": "src/AppNavigator.tsx",
"start": {
"line": 230,
"line": 237,
"column": 17,
"index": 8390
"index": 8706
},
"end": {
"line": 233,
"line": 240,
"column": 3,
"index": 8480
"index": 8796
}
},
{
"id": "components.initialization.custompinscreen.title",
"defaultMessage": "!!!Set PIN",
"file": "src/AppNavigator.tsx",
"start": {
"line": 234,
"line": 241,
"column": 18,
"index": 8500
"index": 8816
},
"end": {
"line": 237,
"line": 244,
"column": 3,
"index": 8598
"index": 8914
}
},
{
"id": "global.actions.dialogs.walletKeysInvalidated.title",
"defaultMessage": "!!!Auth with OS changes",
"file": "src/AppNavigator.tsx",
"start": {
"line": 238,
"line": 245,
"column": 25,
"index": 8625
"index": 8941
},
"end": {
"line": 241,
"line": 248,
"column": 3,
"index": 8739
"index": 9055
}
},
{
"id": "global.actions.dialogs.biometricsChange.message",
"defaultMessage": "!!!Auth with OS changed detected",
"file": "src/AppNavigator.tsx",
"start": {
"line": 242,
"line": 249,
"column": 27,
"index": 8768
"index": 9084
},
"end": {
"line": 245,
"line": 252,
"column": 3,
"index": 8889
"index": 9205
}
}
]

0 comments on commit 5fc7374

Please sign in to comment.