Skip to content

Commit

Permalink
v1.7.5
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapk00 committed Sep 8, 2021
1 parent fa3f73f commit f1f40c3
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ android {
applicationId "com.zecwalletmobile"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 44
versionName "1.7.4"
versionCode 45
versionName "1.7.5"

missingDimensionStrategy 'react-native-camera', 'general'
}
Expand Down
3 changes: 2 additions & 1 deletion app/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,7 @@ export default class RPC {
async fetchTandZTransactions() {
const listStr = await RPCModule.execute('list', '');
const listJSON = JSON.parse(listStr);
const serverHeight = this.serverHeight || 0;

let txlist = listJSON.map((tx: any) => {
const type = tx.outgoing_metadata ? 'sent' : 'receive';
Expand Down Expand Up @@ -420,7 +421,7 @@ export default class RPC {
address:
type === 'sent' ? (tx.outgoing_metadata.length > 0 ? tx.outgoing_metadata[0].address : '') : tx.address,
amount: tx.amount / 10 ** 8,
confirmations: tx.unconfirmed ? 0 : this.serverHeight - tx.block_height + 1,
confirmations: tx.unconfirmed ? 0 : serverHeight - tx.block_height + 1,
txid: tx.txid,
zec_price: tx.zec_price,
time: tx.datetime,
Expand Down
2 changes: 1 addition & 1 deletion components/About.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const AboutModal: React.FunctionComponent<AboutModalProps> = ({closeModal}) => {
}}>
<View>
<View style={{alignItems: 'center', backgroundColor: colors.card, paddingBottom: 25, paddingTop: 25}}>
<Text style={{marginTop: 5, padding: 5, color: colors.text, fontSize: 28}}>Zecwallet Lite v1.7.4</Text>
<Text style={{marginTop: 5, padding: 5, color: colors.text, fontSize: 28}}>Zecwallet Lite v1.7.5</Text>
</View>
<View style={{display: 'flex', alignItems: 'center', marginTop: -25}}>
<Image source={require('../assets/img/logobig.png')} style={{width: 50, height: 50, resizeMode: 'contain'}} />
Expand Down
2 changes: 1 addition & 1 deletion components/InfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const InfoModal: React.FunctionComponent<InfoModalProps> = ({info, closeModal})
</View>

<View style={{display: 'flex', margin: 10}}>
<DetailLine label="Wallet Version" value="Zecwallet Lite v1.7.4" />
<DetailLine label="Wallet Version" value="Zecwallet Lite v1.7.5" />
<DetailLine label="Server Version" value={info?.version} />
<DetailLine label="Lightwallet Server URL" value={info?.serverUri} />
<DetailLine label="Network" value={info?.testnet ? 'Testnet' : 'Mainnet'} />
Expand Down
8 changes: 4 additions & 4 deletions ios/ZecwalletMobile.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -503,7 +503,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 44;
CURRENT_PROJECT_VERSION = 45;
DEVELOPMENT_TEAM = 5N76B7JDDT;
ENABLE_BITCODE = NO;
INFOPLIST_FILE = ZecwalletMobile/Info.plist;
Expand All @@ -515,7 +515,7 @@
"$(inherited)",
"$(PROJECT_DIR)",
);
MARKETING_VERSION = 1.7.4;
MARKETING_VERSION = 1.7.5;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand All @@ -536,7 +536,7 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CURRENT_PROJECT_VERSION = 44;
CURRENT_PROJECT_VERSION = 45;
DEVELOPMENT_TEAM = 5N76B7JDDT;
INFOPLIST_FILE = ZecwalletMobile/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
Expand All @@ -547,7 +547,7 @@
"$(inherited)",
"$(PROJECT_DIR)",
);
MARKETING_VERSION = 1.7.4;
MARKETING_VERSION = 1.7.5;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ZecwalletMobile",
"version": "1.7.4",
"version": "1.7.5",
"private": true,
"scripts": {
"android": "react-native run-android",
Expand Down
2 changes: 1 addition & 1 deletion rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion rust/lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ edition = "2018"

[dependencies]
jni = { version = "0.10.2", default-features = false }
zecwalletlitelib = { git="https://github.com/adityapk00/zecwallet-light-cli", default-features=false, rev="4e355ae8bd34215c97d4183a9cab7b3af83e95e1" }
zecwalletlitelib = { git="https://github.com/adityapk00/zecwallet-light-cli", default-features=false, rev="415196633f6cffa7d7fa0e4ae303353d30baba6a" }
#zecwalletlitelib = { path = "../../../zecwallet-light-cli/lib", default-features=false }
lazy_static = "1.4.0"
android_logger = "0.8.6"
Expand Down

0 comments on commit f1f40c3

Please sign in to comment.