mirror of
https://github.com/TeamVanced/VancedMicroG
synced 2025-01-08 10:35:48 +01:00
Show launcher icon after click on Huawei button
This commit is contained in:
parent
0bb6500d04
commit
221e6e74ce
@ -162,6 +162,7 @@ public class LoginActivity extends AssistantActivity {
|
|||||||
super.onHuaweiButtonClicked();
|
super.onHuaweiButtonClicked();
|
||||||
state++;
|
state++;
|
||||||
if (state == 1) {
|
if (state == 1) {
|
||||||
|
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean("pref_hide_launcher_icon", false).apply();
|
||||||
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean(HuaweiButtonPreference, true).apply();
|
PreferenceManager.getDefaultSharedPreferences(this).edit().putBoolean(HuaweiButtonPreference, true).apply();
|
||||||
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean(LoginButtonPreference, true)) {
|
if (PreferenceManager.getDefaultSharedPreferences(this).getBoolean(LoginButtonPreference, true)) {
|
||||||
LastCheckinInfo.ClearCheckinInfo(this);
|
LastCheckinInfo.ClearCheckinInfo(this);
|
||||||
|
Loading…
Reference in New Issue
Block a user