Producteev should always be visible when logged in, even if third party addons are off

pull/14/head
Sam Bosley 13 years ago
parent 57f291f809
commit 38e6334848

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

Loading…
Cancel
Save