]> git.ktnx.net Git - mobile-ledger.git/commitdiff
NewTransactionModel: drop unused method isEditable()
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 Nov 2019 17:14:01 +0000 (19:14 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 17 Nov 2019 17:14:01 +0000 (19:14 +0200)
app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java

index da008d56dba30336b8abc50fceb087c38a73158b..75429a9921152f7c339eee245c85a55d1f2d0c89 100644 (file)
@@ -276,10 +276,6 @@ public class NewTransactionModel extends ViewModel {
         public NewTransactionModel getModel() {
             return model;
         }
-        public boolean isEditable() {
-            ensureType(ItemType.transactionRow);
-            return this.editable.getValue();
-        }
         public void setEditable(boolean editable) {
             ensureType(ItemType.transactionRow);
             this.editable.setValue(editable);