Fixed a bug with generating outstanding tables after login

pull/14/head
Sam Bosley 12 years ago
parent 36cdaf158e
commit a9a5ab8e9c

@ -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() {

Loading…
Cancel
Save