From 4870d7ef87b06c070d8199550c4b6c4a869cd513 Mon Sep 17 00:00:00 2001 From: VashenkoNikita Date: Wed, 10 May 2023 12:18:20 +0300 Subject: [PATCH 1/2] update moko widget bottomsheet weak ref with controller not create at memory --- .../src/iosMain/swift/BottomSheetController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets-bottomsheet/src/iosMain/swift/BottomSheetController.swift b/widgets-bottomsheet/src/iosMain/swift/BottomSheetController.swift index 0195de44..e24270c6 100644 --- a/widgets-bottomsheet/src/iosMain/swift/BottomSheetController.swift +++ b/widgets-bottomsheet/src/iosMain/swift/BottomSheetController.swift @@ -9,7 +9,7 @@ private var AssociatedDelegateHandle: UInt8 = 0 @objc public class BottomSheetController: NSObject, FloatingPanelControllerDelegate { - private weak var controller: FloatingPanelController? + private var controller: FloatingPanelController? private var onDismiss: ((Bool) -> Void)? @objc public func show( From 35af4dba70a8d678746d3b5d094162b1aec3f4a1 Mon Sep 17 00:00:00 2001 From: Aleksey Mikhailov Date: Wed, 10 May 2023 15:24:28 +0600 Subject: [PATCH 2/2] up version --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index c1f0b27d..84273160 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,7 +1,7 @@ [versions] kotlinVersion = "1.8.10" -mokoWidgetsVersion = "0.2.2" +mokoWidgetsVersion = "0.2.3" mokoResourcesVersion = "0.21.2" mokoMvvmVersion = "0.16.0" mokoFieldsVersion = "0.12.0"