Skip to content

Commit

Permalink
Change the default value of delete_icon_labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Chipppppppppp committed Jan 24, 2024
1 parent 704ef8a commit 2e40b1e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/io/github/chipppppppppp/lime/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lparam) throws Thr
boolean deleteVoom = prefs.getBoolean("delete_voom", true);
boolean deleteWallet = prefs.getBoolean("delete_wallet", true);
boolean distributeEvenly = prefs.getBoolean("distribute_evenly", true);
boolean deleteIconLabels = prefs.getBoolean("delete_icon_labels", false);
boolean deleteIconLabels = prefs.getBoolean("delete_icon_labels", true);
boolean deleteAds = prefs.getBoolean("delete_ads", true);
boolean deleteRecommendation = prefs.getBoolean("delete_recommendation", true);
boolean redirectWebView = prefs.getBoolean("redirect_webview", true);
Expand Down Expand Up @@ -230,7 +230,7 @@ public void handleInitPackageResources(XC_InitPackageResources.InitPackageResour
XModuleResources xModuleResources = XModuleResources.createInstance(MODULE_PATH, resparam.res);
XSharedPreferences prefs = new XSharedPreferences("io.github.chipppppppppp.lime", "settings");
prefs.reload();
boolean deleteIconLabels = prefs.getBoolean("delete_icon_labels", false);
boolean deleteIconLabels = prefs.getBoolean("delete_icon_labels", true);

if (deleteIconLabels) {
resparam.res.setReplacement(PACKAGE, "dimen", "main_bnb_button_height", xModuleResources.fwd(R.dimen.main_bnb_button_height));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ protected void onCreate(Bundle savedInstanceState) {
switchDeleteVoom.setChecked(prefs.getBoolean("delete_voom", true));
switchDeleteWallet.setChecked(prefs.getBoolean("delete_wallet", true));
switchDistributeEvenly.setChecked(prefs.getBoolean("distribute_evenly", true));
switchDeleteIconLabels.setChecked(prefs.getBoolean("delete_icon_labels", false));
switchDeleteIconLabels.setChecked(prefs.getBoolean("delete_icon_labels", true));
switchDeleteAds.setChecked(prefs.getBoolean("delete_ads", true));
switchDeleteRecommendation.setChecked(prefs.getBoolean("delete_recommendation", true));
switchRedirectWebView.setChecked(prefs.getBoolean("redirect_webview", true));
Expand Down

0 comments on commit 2e40b1e

Please sign in to comment.