Don't try to autosync tags when not logged in

pull/14/head
Sam Bosley 13 years ago
parent 0ad805648f
commit 65809dc2cc

@ -291,6 +291,7 @@ public class TagViewFragment extends TaskListFragment {
/** refresh the list with latest data from the web */
private void refreshData(final boolean manual) {
if (actFmPreferenceService.isLoggedIn()) {
((TextView)taskListView.findViewById(android.R.id.empty)).setText(R.string.DLG_loading);
syncService.synchronizeList(tagData, manual, new ProgressBarSyncResultCallback(getActivity(), this,
@ -306,6 +307,7 @@ public class TagViewFragment extends TaskListFragment {
}));
Preferences.setLong(LAST_FETCH_KEY + tagData.getId(), DateUtilities.now());
}
}
protected void setUpMembersGallery() {
if (tagData == null)

Loading…
Cancel
Save