mirror of
https://github.com/anyproto/anytype-kotlin.git
synced 2025-06-08 05:47:05 +09:00
DROID-2266 Design | Library types, icon (#961)
This commit is contained in:
parent
47e6696694
commit
3095e338b7
1 changed files with 2 additions and 0 deletions
|
@ -7,6 +7,7 @@ import androidx.compose.foundation.layout.Row
|
|||
import androidx.compose.foundation.layout.Spacer
|
||||
import androidx.compose.foundation.layout.fillMaxWidth
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.material.Text
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.runtime.Immutable
|
||||
|
@ -273,6 +274,7 @@ fun Icon(icon: ObjectIcon?) {
|
|||
factory = { ctx ->
|
||||
ObjectIconWidget(ctx)
|
||||
},
|
||||
modifier = Modifier.size(24.dp),
|
||||
update = {
|
||||
it.setIcon(icon)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue