- Fixing some errors importing accounts
- After importing an account using a seed, the user gets to the balance page and the intent history is cleared
This commit is contained in:
parent
b2da811687
commit
68296f6306
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue