Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
1 changed files with
1 additions and
1 deletions
-
app/src/main/java/awais/instagrabber/activities/Login.java
|
@ -33,7 +33,7 @@ public final class Login extends BaseLanguageActivity implements View.OnClickLis |
|
|
public void onPageFinished(final WebView view, final String url) { |
|
|
public void onPageFinished(final WebView view, final String url) { |
|
|
webViewUrl = url; |
|
|
webViewUrl = url; |
|
|
final String mainCookie = Utils.getCookie(url); |
|
|
final String mainCookie = Utils.getCookie(url); |
|
|
if (!mainCookie.contains("; ds_user_id=")) ready = true; |
|
|
|
|
|
|
|
|
if (Utils.isEmpty(mainCookie) || !mainCookie.contains("; ds_user_id=")) ready = true; |
|
|
else if (mainCookie.contains("; ds_user_id=") && ready) { |
|
|
else if (mainCookie.contains("; ds_user_id=") && ready) { |
|
|
Utils.setupCookies(mainCookie); |
|
|
Utils.setupCookies(mainCookie); |
|
|
settingsHelper.putString(Constants.COOKIE, mainCookie); |
|
|
settingsHelper.putString(Constants.COOKIE, mainCookie); |
|
|