mirror of
https://github.com/YTVanced/VancedMicroG
synced 2024-12-03 16:27:26 +00:00
Merge pull request #113 from Oizaro/patch-1
Show launcher icon after click on Huawei button
This commit is contained in:
commit
3e98b98aa3
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue