From 0d64cd3055e337e2c56c33d0743b7ad885448d20 Mon Sep 17 00:00:00 2001 From: SuperDragonXD <70206496+SuperDragonXD@users.noreply.github.com> Date: Tue, 19 Dec 2023 15:42:24 +0800 Subject: [PATCH] Uncomment Home Screen Rotation preference Fixes #3886 --- .../ui/preferences/destinations/GeneralPreferences.kt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lawnchair/src/app/lawnchair/ui/preferences/destinations/GeneralPreferences.kt b/lawnchair/src/app/lawnchair/ui/preferences/destinations/GeneralPreferences.kt index de0d42eb06..a1d01cd5f4 100644 --- a/lawnchair/src/app/lawnchair/ui/preferences/destinations/GeneralPreferences.kt +++ b/lawnchair/src/app/lawnchair/ui/preferences/destinations/GeneralPreferences.kt @@ -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(