# Conflicts:
#	app/src/main/java/cy/agorise/crystalwallet/viewmodels/validators/validationfields/BitsharesAccountMnemonicValidationField.java
This commit is contained in:
dtvv 2018-09-12 21:37:13 -05:00
commit b7235db5f2
2 changed files with 4 additions and 2 deletions

View file

@ -141,7 +141,8 @@ public class ImportSeedActivity extends AppCompatActivity implements UIValidator
Toast.makeText(thisActivity.getApplicationContext(),errorText,Toast.LENGTH_LONG).show(); Toast.makeText(thisActivity.getApplicationContext(),errorText,Toast.LENGTH_LONG).show();
} else { } else {
Intent intent = new Intent(thisActivity, IntroActivity.class); Intent intent = new Intent(thisActivity, BoardActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent); startActivity(intent);
} }
} }
@ -170,6 +171,7 @@ public class ImportSeedActivity extends AppCompatActivity implements UIValidator
grapheneAccountInfoViewModel.addGrapheneAccountInfo(grapheneAccountInfo); grapheneAccountInfoViewModel.addGrapheneAccountInfo(grapheneAccountInfo);
this.finish();*/ this.finish();*/
CryptoNetInfoRequests.getInstance().addRequest(validatorRequest);
} }
} }

View file

@ -31,7 +31,7 @@ public class BitsharesAccountMnemonicValidationField extends ValidationField {
this.startValidating(); this.startValidating();
final ValidationField field = this; final ValidationField field = this;
final ValidateImportBitsharesAccountRequest request = new ValidateImportBitsharesAccountRequest(newAccountNameValue,newMnemonicValue,null); final ValidateImportBitsharesAccountRequest request = new ValidateImportBitsharesAccountRequest(newAccountNameValue,newMnemonicValue);
request.setListener(new CryptoNetInfoRequestListener() { request.setListener(new CryptoNetInfoRequestListener() {
@Override @Override
public void onCarryOut() { public void onCarryOut() {