From 791c29b53f2bcee8efd4c68900847c9ad36c8886 Mon Sep 17 00:00:00 2001 From: misaochan Date: Mon, 8 Aug 2016 23:26:04 +1200 Subject: [PATCH] Add comments --- .../main/java/fr/free/nrw/commons/auth/SignupActivity.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java b/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java index 5b790e8b9..8ed2d0e10 100644 --- a/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java +++ b/app/src/main/java/fr/free/nrw/commons/auth/SignupActivity.java @@ -16,8 +16,10 @@ public class SignupActivity extends Activity { Log.d("SignupActivity", "Signup Activity started"); WebView myWebView = (WebView) findViewById(R.id.webview); //myWebView.loadUrl("https://commons.wikimedia.org/w/index.php?title=Special:CreateAccount&returnto=Main+Page"); + + //Mobile page, looks better than the above myWebView.loadUrl("https://commons.m.wikimedia.org/w/index.php?title=Special:CreateAccount&returnto=Main+Page&returntoquery=welcome%3Dyes"); - //Problem: display not good on large screen. Use mobile page? + //After Create Account button is pressed within WebView, it brings user to https://commons.wikimedia.org/wiki/Main_Page. So can we just override that URL? //Do we NEED to enable JS? Validation seems to work fine here }