From 99c59cce23903534ae0a0b2c0124a55ec8b502e7 Mon Sep 17 00:00:00 2001 From: Tim Su Date: Wed, 20 Jul 2011 18:43:41 -0700 Subject: [PATCH] Fix for not updating settings page on new tag data incoming --- .../com/todoroo/astrid/actfm/TagViewActivity.java | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewActivity.java b/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewActivity.java index 883944867..d86cd3d6c 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewActivity.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/TagViewActivity.java @@ -488,16 +488,15 @@ public class TagViewActivity extends TaskListActivity implements OnTabChangeList actFmSyncService.fetchTag(tagData); if(noRemoteId && tagData.getValue(TagData.REMOTE_ID) > 0) { refreshData(manual, true); - - runOnUiThread(new Runnable() { - @Override - public void run() { - refreshUpdatesList(); - refreshSettingsPage(); - } - }); } + runOnUiThread(new Runnable() { + @Override + public void run() { + refreshSettingsPage(); + } + }); + if(!oldName.equals(tagData.getValue(TagData.NAME))) { TagService.getInstance().rename(oldName, tagData.getValue(TagData.NAME));