Make preference icon optional
This commit is contained in:
parent
e13f18d9c1
commit
2a816dc7c7
@ -13,8 +13,8 @@ import de.mm20.launcher2.ui.ktx.conditional
|
||||
|
||||
@Composable
|
||||
fun Preference(
|
||||
icon: ImageVector?,
|
||||
title: String,
|
||||
icon: ImageVector? = null,
|
||||
summary: String? = null,
|
||||
onClick: () -> Unit = {},
|
||||
controls: @Composable (() -> Unit)? = null,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user