Uncomment Home Screen Rotation preference

Fixes #3886
This commit is contained in:
SuperDragonXD
2023-12-19 15:42:24 +08:00
committed by GitHub
parent 4b85d7d7e5
commit 0d64cd3055
@@ -96,11 +96,11 @@ fun GeneralPreferences() {
PreferenceLayout(label = stringResource(id = R.string.general_label)) {
PreferenceGroup {
// SwitchPreference(
// adapter = prefs.allowRotation.getAdapter(),
// label = stringResource(id = R.string.home_screen_rotation_label),
// description = stringResource(id = R.string.home_screen_rotaton_description),
// )
SwitchPreference(
adapter = prefs.allowRotation.getAdapter(),
label = stringResource(id = R.string.home_screen_rotation_label),
description = stringResource(id = R.string.home_screen_rotaton_description),
)
val enableFontSelection = prefs2.enableFontSelection.asState().value
if (enableFontSelection) {
FontPreference(