Add preview without subtitle
This commit is contained in:
parent
8eeb95e867
commit
cf057310b4
1 changed files with 8 additions and 0 deletions
|
|
@ -94,5 +94,13 @@ internal fun PreferenceSwitchPreview() = ElementThemedPreview {
|
|||
isChecked = true,
|
||||
onCheckedChange = {},
|
||||
)
|
||||
PreferenceSwitch(
|
||||
title = "Switch no subtitle",
|
||||
subtitle = null,
|
||||
icon = CompoundIcons.Threads(),
|
||||
enabled = false,
|
||||
isChecked = true,
|
||||
onCheckedChange = {},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue