From fc52bf497072b227b5c55d2112c7c0b276891db4 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Sun, 17 Nov 2019 19:14:01 +0200 Subject: [PATCH] NewTransactionModel: drop unused method isEditable() --- .../ktnx/mobileledger/ui/activity/NewTransactionModel.java | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.39.5