mirror of
https://github.com/JakeWharton/mosaic.git
synced 2025-11-01 12:01:22 +08:00
Update to Compose alpha10
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
buildscript {
|
||||
ext.versions = [
|
||||
'compose': '1.0.0-alpha09',
|
||||
'compose': '1.0.0-alpha10',
|
||||
'kotlin': '1.4.21',
|
||||
'kotlinxCoroutines': '1.4.1',
|
||||
]
|
||||
|
||||
Submodule compose/upstream updated: 72f02c12e4...6207afb164
@ -108,7 +108,7 @@ fun Column(children: @Composable () -> Unit) {
|
||||
@Composable
|
||||
private fun Box(flexDirection: YogaFlexDirection, children: @Composable () -> Unit) {
|
||||
emit<BoxNode, MosaicNodeApplier>(
|
||||
ctor = ::BoxNode,
|
||||
factory = ::BoxNode,
|
||||
update = {
|
||||
set(flexDirection) {
|
||||
yoga.flexDirection = flexDirection
|
||||
|
||||
Reference in New Issue
Block a user