- 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
master
Javier Varona 2018-09-12 21:56:04 -04:00
parent b2da811687
commit 68296f6306
1 changed files with 3 additions and 1 deletions

View File

@ -141,7 +141,8 @@ public class ImportSeedActivity extends AppCompatActivity implements UIValidator
Toast.makeText(thisActivity.getApplicationContext(),errorText,Toast.LENGTH_LONG).show();
} 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);
}
}
@ -170,6 +171,7 @@ public class ImportSeedActivity extends AppCompatActivity implements UIValidator
grapheneAccountInfoViewModel.addGrapheneAccountInfo(grapheneAccountInfo);
this.finish();*/
CryptoNetInfoRequests.getInstance().addRequest(validatorRequest);
}
}