commit | 22236a7b41e2071b96aa305e5991e6b1fef009d4 | [log] [tgz] |
---|---|---|
author | Chaohui Wang <chaohuiw@google.com> | Thu Mar 07 12:43:52 2024 +0000 |
committer | Android (Google) Code Review <android-gerrit@google.com> | Thu Mar 07 12:43:52 2024 +0000 |
tree | b90b5ff3c7156519c582663977c6aedc3a59f85b | |
parent | d26210b16ba2e9882f22085ed964d3f8e619c690 [diff] | |
parent | ab829130b93019da80cf31ec1adf2edee0928609 [diff] |
Merge "Adjust the height of MainSwitchPreference" into main
diff --git a/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/MainSwitchPreference.kt b/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/MainSwitchPreference.kt index fc8de80..0a469b8 100644 --- a/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/MainSwitchPreference.kt +++ b/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/MainSwitchPreference.kt
@@ -47,7 +47,7 @@ onCheckedChange = model.onCheckedChange, paddingStart = 20.dp, paddingEnd = 20.dp, - paddingVertical = 18.dp, + paddingVertical = 24.dp, ) } } @@ -55,7 +55,7 @@ @Preview @Composable -fun MainSwitchPreferencePreview() { +private fun MainSwitchPreferencePreview() { SettingsTheme { Column { MainSwitchPreference(object : SwitchPreferenceModel {