Fixed a bug with featured list fragment on tablets

pull/14/head
Sam Bosley 12 years ago
parent 0e1270c7b4
commit df1386dc90

@ -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;

Loading…
Cancel
Save