Skip to content

Commit

Permalink
#228: Remove bitski from 0.9.8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
generalpiston committed Jun 11, 2019
1 parent 52aeb4a commit c81ec64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 22 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ android {
applicationId "io.mobidex"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 926
versionName "0.9.7"
versionCode 927
versionName "0.9.8"
missingDimensionStrategy "RNN.reactNativeVersion", "reactNative57_5"
multiDexEnabled true
manifestPlaceholders = [
Expand Down
20 changes: 1 addition & 19 deletions android/app/src/main/java/io/mobidex/WalletManagerModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,25 +156,7 @@ public String getName() {

@ReactMethod
public void isWalletAvailable(Callback cb) {
loadKeypair(password, new Callback() {
@Override
public void invoke(Object... args) {
if (args.length == 1) {
cb.invoke(args[0], null);
} else {
cb.invoke(null, false);
}
}
}, new Callback() {
@Override
public void invoke(Object... args) {
if (args.length == 1) {
cb.invoke(null, true);
} else {
cb.invoke(null, false);
}
}
});
cb.invoke(null, getWalletFile() != null);
}

@ReactMethod
Expand Down
3 changes: 2 additions & 1 deletion lib/wallets/bitski.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ export class BitskiWallet {
constructor(settings) {
this.endpoint = settings.ethereumNodeEndpoint;
this.ready = false;
this.available = Boolean(BitskiManager);
// this.available = Boolean(BitskiManager);
this.available = false;
this.settings = settings;
this.address = null;
}
Expand Down

0 comments on commit c81ec64

Please sign in to comment.