@momo-kits/native-kits 0.160.1-scrolltotop.17-debug → 0.160.1-scrolltotop.18-debug
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compose/build.gradle.kts
CHANGED
|
@@ -187,6 +187,7 @@ object DynamicScreenRegistry {
|
|
|
187
187
|
|
|
188
188
|
fun register(screenName: String, content: @Composable () -> Unit, options: NavigationOptions?): DynamicScreenRoute {
|
|
189
189
|
val id = idCounter++
|
|
190
|
+
println("getLatestScreen register la ${id} ")
|
|
190
191
|
screens[id] = DynamicScreen(
|
|
191
192
|
id = id,
|
|
192
193
|
name = screenName,
|
|
@@ -218,6 +219,10 @@ object DynamicScreenRegistry {
|
|
|
218
219
|
}
|
|
219
220
|
|
|
220
221
|
fun scrollToTop() {
|
|
222
|
+
//
|
|
223
|
+
println("getLatestScreen la ${screens.keys.joinToString(separator = ",") { it.toString() }}")
|
|
224
|
+
println("getLatestScreen la ${getLatestScreen()?.id}")
|
|
225
|
+
println("getLatestScreen callback la ${getLatestScreen()?.options?.scrollData?.scrollToTopCallback}")
|
|
221
226
|
getLatestScreen()?.options?.scrollData?.scrollToTopCallback?.invoke()
|
|
222
227
|
}
|
|
223
228
|
}
|
package/gradle.properties
CHANGED
|
@@ -18,7 +18,7 @@ kotlin.apple.xcodeCompatibility.nowarn=true
|
|
|
18
18
|
name="ComposeKits"
|
|
19
19
|
group=vn.momo.kits
|
|
20
20
|
artifact.id=kits
|
|
21
|
-
version=0.160.1-scrolltotop.
|
|
21
|
+
version=0.160.1-scrolltotop.18
|
|
22
22
|
|
|
23
23
|
repo=GitLab
|
|
24
24
|
url=https://gitlab.mservice.com.vn/api/v4/projects/5400/packages/maven
|