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(