Skip to content

Commit

Permalink
fix: restore wallet flow
Browse files Browse the repository at this point in the history
Signed-off-by: Sai Ranjit Tummalapalli <[email protected]>
  • Loading branch information
sairanjit committed Sep 5, 2024
1 parent 13553b8 commit 1f01a32
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ android {
applicationId "id.credebl.adeya"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 12
versionName "1.0.9"
versionCode 16
versionName "1.0.10"

missingDimensionStrategy 'react-native-camera', 'general'
}
Expand Down
10 changes: 5 additions & 5 deletions app/screens/CreateWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useNavigation } from '@react-navigation/core'
import React, { useState } from 'react'
import { useTranslation } from 'react-i18next'
import { View, StyleSheet, Text, Platform, Modal, TouchableOpacity } from 'react-native'
import Icon from 'react-native-vector-icons/FontAwesome'
import Icon from 'react-native-vector-icons/MaterialIcons'

import Button, { ButtonType } from '../components/buttons/Button'
import { useTheme } from '../contexts/theme'
Expand All @@ -20,7 +20,9 @@ const CreateWallet: React.FC = () => {

const proceedWithRestore = () => {
toggleModal()
navigation.navigate(Screens.ImportWalletVerify as never)
setTimeout(() => {
navigation.navigate(Screens.ImportWalletVerify as never)
}, 300)
}

const styles = StyleSheet.create({
Expand Down Expand Up @@ -101,9 +103,7 @@ const CreateWallet: React.FC = () => {
</View>
<Text style={styles.instructionsText}>{t('Restore.RestoreInstructions')}</Text>
{Platform.OS === 'ios' && (
<Text style={styles.instructionsText}>
<Text style={{ fontWeight: 'bold' }}>For iOS users:</Text> {t('Restore.RestoreInstructionsIOS')}
</Text>
<Text style={styles.instructionsText}>{t('Restore.RestoreInstructionsIOS')}</Text>
)}
<View style={styles.restoreWalletView}>
<Button
Expand Down
4 changes: 2 additions & 2 deletions ios/AdeyaWallet.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = AdeyaWallet/AdeyaWallet.entitlements;
CURRENT_PROJECT_VERSION = 45;
CURRENT_PROJECT_VERSION = 47;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = Z5W7KRPGHZ;
ENABLE_BITCODE = NO;
Expand Down Expand Up @@ -545,7 +545,7 @@
CODE_SIGN_ENTITLEMENTS = AdeyaWallet/AdeyaWallet.entitlements;
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 45;
CURRENT_PROJECT_VERSION = 47;
DEVELOPMENT_ASSET_PATHS = "";
DEVELOPMENT_TEAM = Z5W7KRPGHZ;
INFOPLIST_FILE = AdeyaWallet/Info.plist;
Expand Down

0 comments on commit 1f01a32

Please sign in to comment.