mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 14:47:29 +00:00
oh no i have done it again
This commit is contained in:
parent
807777d261
commit
f84d829732
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user