Make preference icon optional

This commit is contained in:
MM20 2021-09-26 14:38:13 +02:00
parent e13f18d9c1
commit 2a816dc7c7
No known key found for this signature in database
GPG Key ID: 0B61A8F2DEAFA389

View File

@ -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,