]> git.ktnx.net Git - mobile-ledger.git/commitdiff
check submit suitability upon changes in the description
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Dec 2018 12:57:43 +0000 (12:57 +0000)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 9 Dec 2018 12:57:43 +0000 (12:57 +0000)
now that the description is mandatory

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

index c191e78a82ebbc99d5bca50013fc64d26066267a..7b893876dd40788ab133ca059ad7b55a315dac02 100644 (file)
@@ -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");
         });
         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);
 
 
         progress = findViewById(R.id.save_transaction_progress);