Skip to content

Commit f2d447a

Browse files
committed
Remove comments
1 parent 81dc0b7 commit f2d447a

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

app/src/main/java/fr/free/nrw/commons/auth/LoginActivity.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)