]> git.ktnx.net Git - mobile-ledger.git/commitdiff
Revert "new transaction: pop up the date picker upon activity start"
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 9 Feb 2019 19:21:29 +0000 (21:21 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 9 Feb 2019 19:21:29 +0000 (21:21 +0200)
This reverts commit a07d649

bad idea as implemented. when a transaction is submitted, no date-picker
appears -- different UX than the first entry

app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionActivity.java

index 82fa12d075aedf5ab6ed81174298c86c3c5e9e6b..93d9ea6b953e3b8a61da6127561b4985f7abdaa7 100644 (file)
@@ -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);