Skip to content

Commit

Permalink
Merge pull request #665 from juanky201271/stable
Browse files Browse the repository at this point in the history
Stable
  • Loading branch information
juanky201271 authored Jul 16, 2024
2 parents 306a299 + 7df7216 commit 650e844
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 12 deletions.
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ android {
applicationId 'org.ZingoLabs.Zingo' // Real
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 185 // Real
versionCode 186 // Real
versionName "zingo-1.4.2" // Real
missingDimensionStrategy 'react-native-camera', 'general'
testBuildType System.getProperty('testBuildType', 'debug')
Expand Down
5 changes: 4 additions & 1 deletion app/LoadedApp/LoadedApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ export class LoadedAppClass extends Component<LoadedAppClassProps, LoadedAppClas
syncingStatus: {} as SyncingStatusClass,
sendProgress: {} as SendProgressClass,
info: {} as InfoType,
zecPrice: {} as ZecPriceType,
zecPrice: {
zecPrice: 0,
date: 0,
} as ZecPriceType,
uaAddress: '',
sendPageState: new SendPageStateClass(new ToAddrClass(Utils.getNextToAddrID())),
receivePageState: {} as ReceivePageStateClass,
Expand Down
2 changes: 1 addition & 1 deletion app/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"zingo": "Zingo",
"version": "zingo-1.4.2 (185)",
"version": "zingo-1.4.2 (186)",
"loading": "loading...",
"connectingserver": "Connecting to the server...",
"wait": "Please wait...",
Expand Down
2 changes: 1 addition & 1 deletion app/translations/es.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"zingo": "Zingo",
"version": "zingo-1.4.2 (185)",
"version": "zingo-1.4.2 (186)",
"loading": "cargando...",
"connectingserver": "Conectando con el servidor...",
"wait": "Por favor espere...",
Expand Down
2 changes: 1 addition & 1 deletion app/translations/pt.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"zingo": "Zingo",
"version": "zingo-1.4.2 (185)",
"version": "zingo-1.4.2 (186)",
"loading": "carregando...",
"connectingserver": "Conectando-se ao servidor...",
"wait": "Aguarde um momento...",
Expand Down
2 changes: 1 addition & 1 deletion app/translations/ru.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"zingo": "Zingo",
"version": "zingo-1.4.2 (185)",
"version": "zingo-1.4.2 (186)",
"loading": "загрузка...",
"connectingserver": "Подключение к серверу...",
"wait": "Пожалуйста, подождите...",
Expand Down
4 changes: 2 additions & 2 deletions components/Send/Send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1317,7 +1317,7 @@ const Send: React.FunctionComponent<SendProps> = ({
</View>
</View>

{zecPrice.zecPrice <= 0 && (
{(!zecPrice.zecPrice || zecPrice.zecPrice <= 0) && (
<View
style={{
width: '35%',
Expand All @@ -1327,7 +1327,7 @@ const Send: React.FunctionComponent<SendProps> = ({
</View>
)}

{zecPrice.zecPrice > 0 && (
{!!zecPrice.zecPrice && zecPrice.zecPrice > 0 && (
<View
style={{
display: 'flex',
Expand Down
4 changes: 2 additions & 2 deletions ios/ZingoMobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = ZingoMobile/ZingoMobile.entitlements;
CURRENT_PROJECT_VERSION = 185;
CURRENT_PROJECT_VERSION = 186;
DEVELOPMENT_TEAM = 788KRST4S8;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = "";
Expand Down Expand Up @@ -587,7 +587,7 @@
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = ZingoMobile/ZingoMobile.entitlements;
CURRENT_PROJECT_VERSION = 185;
CURRENT_PROJECT_VERSION = 186;
DEVELOPMENT_TEAM = 788KRST4S8;
ENABLE_BITCODE = NO;
EXCLUDED_ARCHS = "";
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,10 @@
"postinstall": "patch-package",
"build:bundle": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && rimraf --glob android/app/src/main/res/drawable* && cd android && ./gradlew assembleRelease -PsplitApk=true && cd ..",
"bundle": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && rimraf --glob android/app/src/main/res/drawable*",
"build:release": "cd android && ./gradlew assembleRelease -PsplitApk=true && cd ..",
"build:debug": "cd android && ./gradlew assembleDebug -PsplitApk=true && cd ..",
"build:release": "cd android && ./gradlew assembleRelease && cd ..",
"build:release:split": "cd android && ./gradlew assembleRelease -PsplitApk=true && cd ..",
"build:debug": "cd android && ./gradlew assembleDebug && cd ..",
"build:debug:split": "cd android && ./gradlew assembleDebug -PsplitApk=true && cd ..",
"cargo:update": "cd rust && cargo update -p zingolib -p zingoconfig --aggressive"
},
"dependencies": {
Expand Down

0 comments on commit 650e844

Please sign in to comment.