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