Remove network package testing implementation
This commit is contained in:
parent
e283f7cb65
commit
e9551483f0
1 changed files with 11 additions and 3 deletions
|
@ -144,13 +144,21 @@ public class IntroActivity extends CustomActivity {
|
||||||
|
|
||||||
@OnClick(R.id.btnCreateAccount)
|
@OnClick(R.id.btnCreateAccount)
|
||||||
public void createAccount() {
|
public void createAccount() {
|
||||||
|
Intent intent = new Intent(this, CreateSeedActivity.class);
|
||||||
|
startActivity(intent);
|
||||||
}
|
}
|
||||||
|
|
||||||
@OnClick(R.id.btnImportAccount)
|
@OnClick(R.id.btnImportAccount)
|
||||||
public void importAccount() {
|
public void importAccount() {
|
||||||
|
FragmentTransaction ft = getSupportFragmentManager().beginTransaction();
|
||||||
|
Fragment prev = getSupportFragmentManager().findFragmentByTag("importAccountOptions");
|
||||||
|
if (prev != null) {
|
||||||
|
ft.remove(prev);
|
||||||
|
}
|
||||||
|
ft.addToBackStack(null);
|
||||||
|
|
||||||
|
// Create and show the dialog.
|
||||||
|
ImportAccountOptionsFragment newFragment = ImportAccountOptionsFragment.newInstance();
|
||||||
|
newFragment.show(ft, "importAccountOptions");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue