From a9a5ab8e9cb61f93415bf4fe6b2462411d108b6f Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Mon, 15 Apr 2013 17:40:01 -0700 Subject: [PATCH] Fixed a bug with generating outstanding tables after login --- .../plugin-src/com/todoroo/astrid/actfm/ActFmLoginActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/ActFmLoginActivity.java b/astrid/plugin-src/com/todoroo/astrid/actfm/ActFmLoginActivity.java index 4f38024d9..159d3c3b6 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/ActFmLoginActivity.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/ActFmLoginActivity.java @@ -586,7 +586,7 @@ public class ActFmLoginActivity extends SherlockFragmentActivity { // Successful login, create outstanding entries String lastId = ActFmPreferenceService.userId(); //Preferences.getLong(ActFmPreferenceService.PREF_USER_ID, 0); - if (!TextUtils.isEmpty(token) && RemoteModel.isUuidEmpty(lastId)) { + if (!TextUtils.isEmpty(token) && !RemoteModel.isValidUuid(lastId)) { constructOutstandingTables(); } runOnUiThread(new Runnable() {