From 38e63348484d8e62d083046d88766d31f4290de9 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Thu, 17 May 2012 17:31:30 -0700 Subject: [PATCH] Producteev should always be visible when logged in, even if third party addons are off --- astrid/src/com/todoroo/astrid/activity/EditPreferences.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/astrid/src/com/todoroo/astrid/activity/EditPreferences.java b/astrid/src/com/todoroo/astrid/activity/EditPreferences.java index eb02b6f18..0b84d2db2 100644 --- a/astrid/src/com/todoroo/astrid/activity/EditPreferences.java +++ b/astrid/src/com/todoroo/astrid/activity/EditPreferences.java @@ -49,6 +49,7 @@ import com.todoroo.astrid.data.Task; import com.todoroo.astrid.gtasks.GtasksPreferences; import com.todoroo.astrid.helper.MetadataHelper; import com.todoroo.astrid.producteev.ProducteevPreferences; +import com.todoroo.astrid.producteev.ProducteevUtilities; import com.todoroo.astrid.service.AddOnService; import com.todoroo.astrid.service.MarketStrategy.AmazonMarketStrategy; import com.todoroo.astrid.service.StartupService; @@ -233,7 +234,7 @@ public class EditPreferences extends TodorooPreferenceActivity { continue; if (ProducteevPreferences.class.getName().equals(resolveInfo.activityInfo.name) - && !Preferences.getBoolean(R.string.p_third_party_addons, false)) + && !Preferences.getBoolean(R.string.p_third_party_addons, false) && !ProducteevUtilities.INSTANCE.isLoggedIn()) continue; Preference preference = new Preference(this);