- Removed the label "0.003€" from the balance item header

- Changed the label "cancel" to "ok" in the backup seed page
- The user can't get back once he/she entered the backup seed page
- When the "ok" button is pressed in the backup seed page, the user gets to the balance page (and not the creation seed page)
master
Javier Varona 2018-09-18 22:25:07 -04:00
parent e601b90a63
commit 59b6e63297
4 changed files with 9 additions and 6 deletions

View File

@ -68,7 +68,10 @@ public class BackupSeedActivity extends AppCompatActivity {
@OnClick(R.id.btnCancel)
public void btnOkClick(){
finish();
Intent intent = new Intent(this, BoardActivity.class);
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK);
startActivity(intent);
//finish();
}
/*

View File

@ -181,6 +181,7 @@ class CreateSeedActivity : CustomActivity() {
if (request.status == ValidateCreateBitsharesAccountRequest.StatusCode.SUCCEEDED) {
val accountSeed = request.account
val intent = Intent(applicationContext, BackupSeedActivity::class.java)
intent.flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
intent.putExtra("SEED_ID", accountSeed.id)
startActivity(intent)
} else {

View File

@ -67,9 +67,9 @@
android:layout_marginLeft="20dp"
android:layout_marginTop="35dp"
android:layout_toLeftOf="@+id/btnCopy"
android:text="@string/cancel"
android:textColor="#0099ff"
android:background="?android:attr/selectableItemBackground"/>
android:background="?android:attr/selectableItemBackground"
android:text="@string/ok"
android:textColor="#0099ff" />
<Button
android:id="@+id/btnCopy"

View File

@ -44,8 +44,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:layout_centerVertical="true"
android:text="0.003€" />
android:layout_centerVertical="true" />
<Button
android:id="@+id/btnSendFromThisAccount"