From adb0c262063a6a3b8319ab8bc6c1650dcb9ef50b Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 6 Sep 2012 10:55:48 -0700 Subject: [PATCH] Removed unused preference --- .../todoroo/astrid/tags/reusable/ReusableTaskAdapter.java | 6 +----- astrid/res/values/keys.xml | 2 -- astrid/res/xml/preferences.xml | 6 ------ astrid/src/com/todoroo/astrid/adapter/TaskAdapter.java | 6 +----- 4 files changed, 2 insertions(+), 18 deletions(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/tags/reusable/ReusableTaskAdapter.java b/astrid/plugin-src/com/todoroo/astrid/tags/reusable/ReusableTaskAdapter.java index afce2760b..31216e0f1 100644 --- a/astrid/plugin-src/com/todoroo/astrid/tags/reusable/ReusableTaskAdapter.java +++ b/astrid/plugin-src/com/todoroo/astrid/tags/reusable/ReusableTaskAdapter.java @@ -68,11 +68,7 @@ public class ReusableTaskAdapter extends TaskAdapter { task.readFromCursor(cursor); viewHolder.title.setText(task.getValue(Task.TITLE)); - if (Preferences.getBoolean(R.string.p_allowCompressedTaskRows, false)) { - view.setMinimumHeight(0); - } else { - view.setMinimumHeight(minRowHeight); - } + view.setMinimumHeight(minRowHeight); } public static class ReusableTaskViewHolder { diff --git a/astrid/res/values/keys.xml b/astrid/res/values/keys.xml index e5de6130e..e09e41884 100644 --- a/astrid/res/values/keys.xml +++ b/astrid/res/values/keys.xml @@ -247,8 +247,6 @@ showSmartConfirmation - - allowCompressedTaskRows legacyImportanceStyle diff --git a/astrid/res/xml/preferences.xml b/astrid/res/xml/preferences.xml index 0d327eebe..c32923736 100644 --- a/astrid/res/xml/preferences.xml +++ b/astrid/res/xml/preferences.xml @@ -46,12 +46,6 @@ android:key="@string/p_showNotes" android:title="@string/EPr_showNotes_title" android:defaultValue="false" /> - -