Skip to content

Commit

Permalink
修复: 主界面闪退
Browse files Browse the repository at this point in the history
  • Loading branch information
HChenX committed Apr 19, 2024
1 parent 7d39161 commit 368e739
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public class MainFragment extends SettingsPreferenceFragment implements Homepage
Preference mMiLink;
Preference mAod;
Preference mGuardProvider;
Preference mMirror;
// Preference mMirror;
Preference mHeadtipWarn;
Preference mHelpCantSeeApps;
TipsPreference mTips;
Expand Down Expand Up @@ -143,7 +143,7 @@ public void initPrefs() {
mMiLink = findPreference("prefs_key_milink");
mAod = findPreference("prefs_key_aod");
mGuardProvider = findPreference("prefs_key_guardprovider");
mMirror = findPreference("prefs_key_mirror");
// mMirror = findPreference("prefs_key_mirror");
mTips = findPreference("prefs_key_tips");
mHeadtipWarn = findPreference("prefs_key_headtip_warn");
mHelpCantSeeApps = findPreference("prefs_key_help_cant_see_app");
Expand All @@ -159,13 +159,13 @@ public void initPrefs() {
mAod.setTitle(R.string.aod_hyperos);
mMiLink.setTitle(R.string.milink_hyperos);
mGuardProvider.setTitle(R.string.guard_provider_hyperos);
mMirror.setTitle(R.string.mirror_hyperos);
// mMirror.setTitle(R.string.mirror_hyperos);
mSecurityCenter.setTitle(R.string.security_center_hyperos);
} else {
mAod.setTitle(R.string.aod);
mMiLink.setTitle(R.string.milink);
mGuardProvider.setTitle(R.string.guard_provider);
mMirror.setTitle(R.string.mirror);
// mMirror.setTitle(R.string.mirror);
if (isPad()) {
mSecurityCenter.setTitle(R.string.security_center_pad);
} else {
Expand Down

0 comments on commit 368e739

Please sign in to comment.