From 0b55f6b3a3e7babe2fd040b35eb841b39bcd4a91 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Wed, 7 Mar 2012 15:27:03 -0800 Subject: [PATCH] Fixed issue where refresh menu item wouldn 't always show up in action bar on tablets --- astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java | 2 +- .../com/todoroo/astrid/gtasks/GtasksListFragment.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java index fbeeebc41..5a83a8268 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java @@ -159,7 +159,7 @@ public class TagViewFragment extends TaskListFragment { protected void addSyncRefreshMenuItem(Menu menu, int themeFlags) { if(actFmPreferenceService.isLoggedIn()) { addMenuItem(menu, R.string.actfm_TVA_menu_refresh, - ThemeService.getDrawable(R.drawable.icn_menu_refresh, themeFlags), MENU_REFRESH_ID, false); + ThemeService.getDrawable(R.drawable.icn_menu_refresh, themeFlags), MENU_REFRESH_ID, true); } else { super.addSyncRefreshMenuItem(menu, themeFlags); } diff --git a/astrid/plugin-src/com/todoroo/astrid/gtasks/GtasksListFragment.java b/astrid/plugin-src/com/todoroo/astrid/gtasks/GtasksListFragment.java index 379fa8468..377441ce4 100644 --- a/astrid/plugin-src/com/todoroo/astrid/gtasks/GtasksListFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/gtasks/GtasksListFragment.java @@ -148,7 +148,7 @@ public class GtasksListFragment extends SubtasksListFragment { protected void addSyncRefreshMenuItem(Menu menu, int themeFlags) { if(gtasksPreferenceService.isLoggedIn()) { addMenuItem(menu, R.string.actfm_TVA_menu_refresh, - ThemeService.getDrawable(R.drawable.icn_menu_refresh, themeFlags), MENU_REFRESH_ID, false); + ThemeService.getDrawable(R.drawable.icn_menu_refresh, themeFlags), MENU_REFRESH_ID, true); } else { super.addSyncRefreshMenuItem(menu, themeFlags); }