mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 20:33:53 +01:00
Merge pull request #839 from YDrall/backstack_issue
remove signup activity from activity's backstack.
This commit is contained in:
commit
5796d14e9e
1 changed files with 2 additions and 4 deletions
|
|
@ -1,6 +1,5 @@
|
|||
package fr.free.nrw.commons.auth;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.os.Bundle;
|
||||
import android.webkit.WebSettings;
|
||||
import android.webkit.WebView;
|
||||
|
|
@ -44,9 +43,8 @@ public class SignupActivity extends BaseActivity {
|
|||
Toast.LENGTH_LONG
|
||||
);
|
||||
toast.show();
|
||||
|
||||
Intent intent = new Intent(CommonsApplication.getInstance(), LoginActivity.class);
|
||||
startActivity(intent);
|
||||
// terminate on task completion.
|
||||
finish();
|
||||
return true;
|
||||
} else {
|
||||
//If user clicks any other links in the webview
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue