From 8fc197f9b27472b3113e850feae2221dcaab0aaf Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sat, 9 Feb 2019 21:21:29 +0200 Subject: [PATCH] Revert "new transaction: pop up the date picker upon activity start" This reverts commit a07d649 bad idea as implemented. when a transaction is submitted, no date-picker appears -- different UX than the first entry --- .../ktnx/mobileledger/ui/activity/NewTransactionActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java index 82fa12d0..93d9ea6b 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java @@ -133,7 +133,7 @@ public class NewTransactionActivity extends AppCompatActivity implements TaskCal @Override protected void onStart() { super.onStart(); - if (tvDate.getText().toString().isEmpty()) tvDate.requestFocus(); + if (tvDescription.getText().toString().isEmpty()) tvDescription.requestFocus(); } public void saveTransaction() { if (fab != null) fab.setEnabled(false); -- 2.39.5