From 16ea2cea256be21acaae7597f2f699f40ed8c317 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 9 Dec 2018 12:57:43 +0000 Subject: [PATCH] check submit suitability upon changes in the description now that the description is mandatory --- .../main/java/net/ktnx/mobileledger/NewTransactionActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java index c191e78a..7b893876 100644 --- a/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java +++ b/app/src/main/java/net/ktnx/mobileledger/NewTransactionActivity.java @@ -74,6 +74,7 @@ public class NewTransactionActivity extends AppCompatActivity implements TaskCal }); text_descr = findViewById(R.id.new_transaction_description); hook_autocompletion_adapter(text_descr, MobileLedgerDB.DESCRIPTION_HISTORY_TABLE, "description"); + hook_text_change_listener(text_descr); progress = findViewById(R.id.save_transaction_progress); -- 2.39.5