From: Damyan Ivanov Date: Sun, 17 Nov 2019 17:14:01 +0000 (+0200) Subject: NewTransactionModel: drop unused method isEditable() X-Git-Tag: v0.11.0~59 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=fc52bf497072b227b5c55d2112c7c0b276891db4;p=mobile-ledger.git NewTransactionModel: drop unused method isEditable() --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java index da008d56..75429a99 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/activity/NewTransactionModel.java @@ -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);