From df1386dc9076bdb18b0c2f82d2b9d0c3e9ae3687 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 10 Sep 2012 16:50:31 -0700 Subject: [PATCH] Fixed a bug with featured list fragment on tablets --- .../todoroo/astrid/tags/reusable/FeaturedListFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/tags/reusable/FeaturedListFragment.java b/astrid/plugin-src/com/todoroo/astrid/tags/reusable/FeaturedListFragment.java index 55fe921a3..f7aa17663 100644 --- a/astrid/plugin-src/com/todoroo/astrid/tags/reusable/FeaturedListFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/tags/reusable/FeaturedListFragment.java @@ -3,9 +3,9 @@ package com.todoroo.astrid.tags.reusable; import android.app.Activity; import com.timsu.astrid.R; -import com.todoroo.andlib.utility.AndroidUtilities; import com.todoroo.astrid.activity.FilterListFragment; import com.todoroo.astrid.adapter.FilterAdapter; +import com.todoroo.astrid.utility.AstridPreferences; public class FeaturedListFragment extends FilterListFragment { @@ -16,7 +16,7 @@ public class FeaturedListFragment extends FilterListFragment { @Override protected int getLayout(Activity activity) { - if (AndroidUtilities.isTabletSized(activity)) + if (AstridPreferences.useTabletLayout(activity)) return R.layout.filter_list_fragment_alternative_3pane; else return R.layout.filter_list_fragment_alternative;