Navigation small fixes

This commit is contained in:
minibits-cash
2025-10-17 13:25:32 +02:00
parent b3c763c612
commit e640dc1673
6 changed files with 14 additions and 11 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ android {
applicationId "com.minibits_wallet"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 58046
versionCode 58047
versionName "0.3.2"
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "minibits_wallet",
"version": "0.3.2-beta.1",
"version": "0.3.2-beta.2",
"private": true,
"scripts": {
"android:clean": "cd android && ./gradlew clean",
+1 -1
View File
@@ -425,7 +425,7 @@
"recoveryOptionsFromSeed": "Recover from seed",
"recoveryOptionsFromSeedDescription": "Use 12 word seed phrase to re-create your lost ecash with assistance of mints. Use in case of device loss.",
"recoveryOptionsTitle": "Recovery options",
"seedRecoveryOptions": "Seed-based recovery",
"seedRecoveryOptions": "Seed recovery",
"seedRecoveryOptionsDesc": "Recover your wallet using seed phrase or backup file",
"recoveryPermissionNeededDesc": "Minibits needs a permission to display notification while this task will be running.",
"recoveryPermissionNeededTitle": "Permission needed",
+1 -3
View File
@@ -39,9 +39,7 @@ const RootStack = createNativeStackNavigator({
//contentStyle: {backgroundColor: bgColor}
},
screens: {
Welcome: WelcomeScreen,
RecoveryOptions: RecoveryOptionsScreen,
Welcome: WelcomeScreen,
SeedRecoveryOptions: SeedRecoveryOptionsScreen,
SeedRecovery: SeedRecoveryScreen,
ImportBackup: ImportBackupScreen,
+3 -1
View File
@@ -35,7 +35,8 @@ import {
OwnKeysScreen,
TokenReceiveScreen,
NwcScreen,
CashuPaymentRequestScreen
CashuPaymentRequestScreen,
RecoveryOptionsScreen
} from "../screens"
import { colors, spacing, typography } from "../theme"
@@ -135,6 +136,7 @@ const SettingsStack = createNativeStackNavigator({
Privacy: PrivacyScreen,
Update: UpdateScreen,
BackupOptions: BackupOptionsScreen,
RecoveryOptions: RecoveryOptionsScreen,
Mnemonic: MnemonicScreen,
ExportBackup: ExportBackupScreen,
Developer: DeveloperScreen,
+7 -4
View File
@@ -17,7 +17,7 @@ export const SeedRecoveryOptionsScreen = observer(function SeedRecoveryOptionsSc
onLeftPress: () => navigation.goBack(),
})
const headerTitle = translate('recoveryOptionsTitle')
// const headerTitle = translate('seedRecoveryOptions')
const headerBackground = useThemeColor('header')
const headerTitleColor = useThemeColor('headerTitle')
@@ -36,7 +36,11 @@ export const SeedRecoveryOptionsScreen = observer(function SeedRecoveryOptionsSc
return (
<Screen preset="fixed" contentContainerStyle={$screen}>
<View style={[$headerContainer, {backgroundColor: headerBackground}]}>
<Text preset="heading" text={headerTitle} style={{color: headerTitleColor}} />
<Text
preset="heading"
tx="seedRecoveryOptions"
style={{color: 'white'}}
/>
</View>
<ScrollView style={$contentContainer}>
<Card
@@ -83,8 +87,7 @@ export const SeedRecoveryOptionsScreen = observer(function SeedRecoveryOptionsSc
const $screen: ViewStyle = {}
const $headerContainer: ViewStyle = {
alignItems: 'center',
justifyContent: 'flex-end',
alignItems: 'center',
paddingBottom: spacing.medium,
height: spacing.screenHeight * 0.15,
}