File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed
app/src/main/java/fr/free/nrw/commons/auth Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -94,9 +94,7 @@ protected void onPostExecute(String result) {
9494 // FIXME: If the user turns it off, it shouldn't be auto turned back on
9595 ContentResolver .setSyncAutomatically (account , ContributionsContentProvider .AUTHORITY , true ); // Enable sync by default!
9696 ContentResolver .setSyncAutomatically (account , ModificationsContentProvider .AUTHORITY , true ); // Enable sync by default!
97-
98- //FIXME: This is supposed to return user to ContributionsActivity (launcher activity), but is instead taking users back to SignupActivity
99- //context.finish();
97+
10098 Intent intent = new Intent (context , ContributionsActivity .class );
10199 startActivity (intent );
102100
@@ -250,8 +248,6 @@ public boolean onOptionsItemSelected(MenuItem item) {
250248 //Called when Sign Up button is clicked
251249 public void signUp (View view ) {
252250 Intent intent = new Intent (this , SignupActivity .class );
253- // FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
254- //intent.addFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
255251 startActivity (intent );
256252 }
257253}
You can’t perform that action at this time.
0 commit comments