Skip to content

Commit

Permalink
fix: warning when navigating to terms screen (#1558)
Browse files Browse the repository at this point in the history
Signed-off-by: wadeking98 <[email protected]>
  • Loading branch information
wadeking98 authored Oct 23, 2023
1 parent ffec81e commit 20012ee
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/src/localization/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const translation = {
},
"Screens": {
"Onboarding": "BC Wallet",
"Terms": "End User License Agreement",
"Settings": "Menu",
},
"PersonCredentialNotification": {
Expand Down
1 change: 1 addition & 0 deletions app/src/localization/fr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const translation = {
},
"Screens": {
"Onboarding": "BC Wallet (FR)",
"Terms": "End User License Agreement",
"Settings": "Menu (FR)",
},
"PersonCredentialNotification": {
Expand Down
1 change: 1 addition & 0 deletions app/src/localization/pt-br/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const translation = {
},
"Screens": {
"Onboarding": "BC Wallet (PT-BR)",
"Terms": "End User License Agreement (PT-BR)",
"Settings": "Menu (PT-BR)",
},
"PersonCredentialNotification": {
Expand Down
1 change: 0 additions & 1 deletion app/src/screens/Terms.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ const Terms: React.FC = () => {
const [checked, setChecked] = useState(false)
const { t } = useTranslation()
const navigation = useNavigation<StackNavigationProp<AuthenticateStackParams>>()
navigation.setOptions({ title: 'End User License Agreement' })
const { ColorPallet, TextTheme } = useTheme()
const style = StyleSheet.create({
container: {
Expand Down

0 comments on commit 20012ee

Please sign in to comment.