From 78c0d47756e6aee2eb9ae157d9e0f6cbddc15ad4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=E1=BB=A9c=20Nguy=E1=BB=85n=20Duy?= Date: Wed, 31 May 2023 15:54:17 +0700 Subject: [PATCH] Release version 1.0.4 (170) --- CHANGELOG.md | 9 +++ android/app/build.gradle | 4 +- ios/Podfile.lock | 4 +- ios/SubWalletMobile.xcodeproj/project.pbxproj | 8 +-- package.json | 4 +- src/components/Input/InputText.tsx | 2 +- src/screens/AddProvider.tsx | 6 +- src/screens/ImportNetwork.tsx | 16 ++--- yarn.lock | 62 +++++++++---------- 9 files changed, 62 insertions(+), 53 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fbb19842f..a5784383a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +## 1.0.4 (170) +- Fix Send USDt (Polygon) #722 +- Fix Stake max and Unstake Max #746 +- Fix APR and Min stake information when stake #733 +- Fix Claim reward on pooled #749 +- Add predefined dApp #713 +- Fix master password mask charactors from red to white +- Update chainlist + ## 1.0.3 (169) - Update web-runner with latest @subwallet/chain-list diff --git a/android/app/build.gradle b/android/app/build.gradle index 4fddb54ae..65e5099ed 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -93,8 +93,8 @@ android { applicationId "app.subwallet.mobile" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion - versionCode 169 - versionName "1.0.3" + versionCode 171 + versionName "1.0.4" missingDimensionStrategy 'react-native-camera', 'general' } diff --git a/ios/Podfile.lock b/ios/Podfile.lock index b0e764d12..376f4fb81 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -354,7 +354,7 @@ PODS: - React-Core - react-native-camera/RN (4.2.1): - React-Core - - react-native-cameraroll (5.5.0): + - react-native-cameraroll (5.6.0): - React-Core - react-native-document-picker (8.2.1): - React-Core @@ -852,7 +852,7 @@ SPEC CHECKSUMS: React-jsinspector: c712f9e3bb9ba4122d6b82b4f906448b8a281580 React-logger: 342f358b8decfbf8f272367f4eacf4b6154061be react-native-camera: 3eae183c1d111103963f3dd913b65d01aef8110f - react-native-cameraroll: 900722c56fde9bc5cf3bc8447acdcfeb290ab853 + react-native-cameraroll: 755bcc628148a90a7c9cf3f817a252be3a601bc5 react-native-document-picker: 69ca2094d8780cfc1e7e613894d15290fdc54bba react-native-image-picker: 709d04e7df67bd3a90f376c3eedb2e8b8334dd04 react-native-mmkv: 7da5e18e55c04a9af9a7e0ab9792a1e8d33765a1 diff --git a/ios/SubWalletMobile.xcodeproj/project.pbxproj b/ios/SubWalletMobile.xcodeproj/project.pbxproj index 90620cdd4..38af08125 100644 --- a/ios/SubWalletMobile.xcodeproj/project.pbxproj +++ b/ios/SubWalletMobile.xcodeproj/project.pbxproj @@ -510,7 +510,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 169; + CURRENT_PROJECT_VERSION = 170; DEVELOPMENT_TEAM = ZUZ7T3GQMT; ENABLE_BITCODE = NO; INFOPLIST_FILE = SubWalletMobile/Info.plist; @@ -521,7 +521,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.3; + MARKETING_VERSION = 1.0.4; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", @@ -542,7 +542,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO; CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = 169; + CURRENT_PROJECT_VERSION = 170; DEVELOPMENT_TEAM = ZUZ7T3GQMT; INFOPLIST_FILE = SubWalletMobile/Info.plist; INFOPLIST_KEY_CFBundleDisplayName = SubWallet; @@ -552,7 +552,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.0.3; + MARKETING_VERSION = 1.0.4; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", diff --git a/package.json b/package.json index 0dc5657a4..c2b21bcc9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "SubWalletMobile", - "version": "1.0.3", - "build": "167", + "version": "1.0.4", + "build": "170", "private": true, "license": "Apache-2.0", "bin": { diff --git a/src/components/Input/InputText.tsx b/src/components/Input/InputText.tsx index b289ec748..d856ad733 100644 --- a/src/components/Input/InputText.tsx +++ b/src/components/Input/InputText.tsx @@ -47,7 +47,7 @@ const InputText = forwardRef((passwordFieldProps: Props, ref: React.Ref createStyle(theme, hasLabel, !!(errorMessages && errorMessages.length), !!leftIcon), + () => createStyle(theme, hasLabel, !(errorMessages && errorMessages.length), !!leftIcon), [theme, hasLabel, errorMessages, leftIcon], ); diff --git a/src/screens/AddProvider.tsx b/src/screens/AddProvider.tsx index 4b3ab6ae4..e27358adf 100644 --- a/src/screens/AddProvider.tsx +++ b/src/screens/AddProvider.tsx @@ -249,14 +249,14 @@ export const AddProvider = ({ value={formState.data.provider} onChangeText={onChangeProvider} errorMessages={formState.errors.provider} - rightIcon={providerSuffix()} + rightIcon={{providerSuffix()}} placeholder={formState.labels.provider} onSubmitField={() => providerValidator(formState.data.provider)} /> { } if (providerValidation.status === 'success') { - return ; + return ( + + ); } if (isValidating) { @@ -281,7 +283,7 @@ export const ImportNetwork = () => { } if (providerValidation.status === 'error') { - return ; + return ; } return <>; @@ -297,7 +299,7 @@ export const ImportNetwork = () => { value={formState.data.provider} onSubmitField={onSubmitField('provider')} onChangeText={onChangeValue('provider')} - rightIcon={providerSuffix()} + rightIcon={{providerSuffix()}} errorMessages={formState.errors.provider} onBlur={() => providerValidateFunc(formState.data.provider)} isBusy={loading} @@ -305,7 +307,7 @@ export const ImportNetwork = () => { { /> { { />