Skip to content

Commit

Permalink
Merge branch 'canary' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
siavash79 committed Jun 12, 2023
2 parents 1c3725a + 504d707 commit 782d86b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/src/main/java/sh/siava/AOSPMods/SettingsActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,8 @@ private void updateVisibility(SharedPreferences prefs) {
double increasedArea = Math.round(Math.abs(Math.pow(displayOverride, 2) / 100 - 100));

findPreference("displayOverride").setSummary(String.format("%s \n (%s)", displayOverride == 100 ? getString(R.string.word_default) : String.format("%s%% - %s%% %s", String.valueOf(displayOverride), String.valueOf(increasedArea), displayOverride > 100 ? getString(R.string.more_area) : getString(R.string.less_area)), getString(R.string.sysui_restart_needed)));

findPreference("ForceThemedLauncherIcons").setVisible(Build.VERSION.SDK_INT > Build.VERSION_CODES.TIRAMISU);
} catch (Exception e) {
e.printStackTrace();
}
Expand Down

0 comments on commit 782d86b

Please sign in to comment.