From 9c9dfaf2887dbaf11fca7f174e30d77df05572f9 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Fri, 1 Mar 2013 10:35:48 -0800 Subject: [PATCH] Sanity check tagData before syncing --- astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java index 98c23bf5a..910bb2c7b 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewFragment.java @@ -329,7 +329,7 @@ public class TagViewFragment extends TaskListFragment { /** refresh the list with latest data from the web */ private void refreshData() { - if (actFmPreferenceService.isLoggedIn()) { + if (actFmPreferenceService.isLoggedIn() && tagData != null && !RemoteModel.isUuidEmpty(tagData.getUuid())) { ((TextView)taskListView.findViewById(android.R.id.empty)).setText(R.string.DLG_loading); Runnable callback = new Runnable() {