]> git.ktnx.net Git - mobile-ledger.git/commitdiff
show comment field after screen rotation if it was previously focused
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 3 May 2020 09:24:49 +0000 (12:24 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 3 May 2020 09:24:49 +0000 (12:24 +0300)
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionItemHolder.java

index b63ce8e9adeab74c7fcc1a5c814e1983ec3babfd..221e60f873a9e0cc901eb1e5d2996d9e55ad8a4d 100644 (file)
@@ -312,6 +312,7 @@ class NewTransactionItemHolder extends RecyclerView.ViewHolder
                                     tvAmount.requestFocus();
                                     break;
                                 case Comment:
+                                    tvComment.setVisibility(View.VISIBLE);
                                     tvComment.requestFocus();
                                     break;
                                 case Account: