From: Damyan Ivanov Date: Sat, 9 Feb 2019 19:21:29 +0000 (+0200) Subject: Revert "new transaction: pop up the date picker upon activity start" X-Git-Tag: v0.6~6 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=8fc197f9b27472b3113e850feae2221dcaab0aaf;p=mobile-ledger.git 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 --- 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);