Consolidate settings decoding

This commit is contained in:
ajp_anton
2026-07-15 19:18:57 +00:00
parent 38b1602fe8
commit 898e33ccfa
3 changed files with 306 additions and 559 deletions
File diff suppressed because it is too large Load Diff
@@ -40,7 +40,7 @@ public final class LayoutFragment extends Fragment {
View root = inflater.inflate(R.layout.fragment_layout, container, false);
SharedPreferences prefs = requireContext()
.getSharedPreferences(SbtSettings.PREFS_NAME, Context.MODE_PRIVATE);
hideUnlockedSubpageObsoleteControls(root);
configureUnlockedOnlyModeControls(root);
reorderItemCards(root, prefs);
setupPositionSection(root,
@@ -508,7 +508,7 @@ public final class LayoutFragment extends Fragment {
}
}
private void hideUnlockedSubpageObsoleteControls(View root) {
private void configureUnlockedOnlyModeControls(View root) {
hide(root, R.id.clock_position_mode_lockscreen);
hide(root, R.id.notif_position_mode_aod);
hide(root, R.id.notif_position_mode_lockscreen);