fix: Material 组件更新导致的显示传参不一致
This commit is contained in:
parent
0ef17616d1
commit
64c2cc13c8
3 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ android {
|
|||
applicationId = "cn.super12138.todo"
|
||||
minSdk = 24
|
||||
targetSdk = 36
|
||||
versionCode = 634
|
||||
versionCode = 647
|
||||
versionName = "2.1.2"
|
||||
|
||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ fun TodoEditorPage(
|
|||
)
|
||||
},
|
||||
modifier = Modifier.sharedElement(
|
||||
state = rememberSharedContentState(key = Constants.KEY_TODO_FAB_TRANSITION),
|
||||
sharedContentState = rememberSharedContentState(key = Constants.KEY_TODO_FAB_TRANSITION),
|
||||
animatedVisibilityScope = animatedVisibilityScope
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ fun MainPage(
|
|||
toTodoEditPage()
|
||||
},
|
||||
modifier = Modifier.sharedElement(
|
||||
state = rememberSharedContentState(key = Constants.KEY_TODO_FAB_TRANSITION),
|
||||
sharedContentState = rememberSharedContentState(key = Constants.KEY_TODO_FAB_TRANSITION),
|
||||
animatedVisibilityScope = animatedVisibilityScope
|
||||
)
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue