Change the graphene manager to save new created accounts

master
henry 2018-01-15 23:31:57 -04:00
parent fc80baf731
commit 3f7e7b5bc6
2 changed files with 4 additions and 1 deletions

View File

@ -66,6 +66,9 @@ public class BitsharesAccountManager implements CryptoAccountManager, CryptoNetI
if(created) {
GrapheneAccount fetch = this.getAccountInfoByName(grapheneAccount.getName());
fetch.setSeedId(grapheneAccount.getSeedId());
fetch.setCryptoNet(grapheneAccount.getCryptoNet());
fetch.setAccountIndex(grapheneAccount.getAccountIndex());
CrystalDatabase db = CrystalDatabase.getAppDatabase(context);
long idAccount = db.cryptoNetAccountDao().insertCryptoNetAccount(fetch)[0];

View File

@ -6,7 +6,7 @@ buildscript {
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
classpath 'com.android.tools.build:gradle:3.0.1'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files