Existing users should get a toast when they log in to alert that the first sync might take a little while

pull/14/head
Sam Bosley 11 years ago
parent 1d139b9014
commit e3dfa88ecf

@ -41,6 +41,7 @@ import android.widget.EditText;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import android.widget.Toast;
import com.actionbarsherlock.app.SherlockFragmentActivity;
import com.facebook.Request;
@ -845,6 +846,9 @@ public class ActFmLoginActivity extends SherlockFragmentActivity {
Preferences.setString(ActFmPreferenceService.PREF_PICTURE,
result.optString("picture"));
if (!result.optBoolean("new"))
Toast.makeText(this, R.string.actfm_ALA_user_exists_sync_alert, Toast.LENGTH_LONG).show();
ActFmPreferenceService.reloadThisUser();
GCMIntentService.register(this);

@ -282,6 +282,9 @@
<!-- Password reset sent (%s -> email) -->
<string name="actfm_ALA_reset_sent">Password reset sent to %s</string>
<!-- User already exists - first sync may be slow -->
<string name="actfm_ALA_user_exists_sync_alert">The first sync may take a bit--thanks for your patience!</string>
<!-- User not found -->
<string name="actfm_ALA_error_user_not_found">User not found by that email. Try signing up instead!</string>

Loading…
Cancel
Save