mirror of https://github.com/YTVanced/VancedMicroG
Preference fix
This commit is contained in:
parent
893874c04f
commit
68da1f74bb
|
@ -178,7 +178,7 @@ public class LoginActivity extends AssistantActivity {
|
||||||
state++;
|
state++;
|
||||||
if (state == 1) {
|
if (state == 1) {
|
||||||
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean(LoginButtonPreference, true).apply();
|
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean(LoginButtonPreference, true).apply();
|
||||||
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean(HuaweiButtonPreference, false)) {
|
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean(HuaweiButtonPreference, true)) {
|
||||||
LastCheckinInfo.ClearCheckinInfo(this);
|
LastCheckinInfo.ClearCheckinInfo(this);
|
||||||
CheckinClient.brandSpoof = false;
|
CheckinClient.brandSpoof = false;
|
||||||
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean(HuaweiButtonPreference, true).apply();
|
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean(HuaweiButtonPreference, true).apply();
|
||||||
|
|
Loading…
Reference in New Issue