diff --git a/luckywheel/build.gradle b/luckywheel/build.gradle index f55b631..9e6290d 100644 --- a/luckywheel/build.gradle +++ b/luckywheel/build.gradle @@ -57,7 +57,7 @@ afterEvaluate { from components.release groupId = "com.github.caneryilmaz52" artifactId = "LuckyWheelView" - version = "1.1.2" + version = "1.1.3" pom { name.set("Lucky Wheel View") diff --git a/luckywheel/src/main/java/com/caneryilmaz/apps/luckywheel/ui/LuckyWheelView.kt b/luckywheel/src/main/java/com/caneryilmaz/apps/luckywheel/ui/LuckyWheelView.kt index 312d970..9e16ef8 100644 --- a/luckywheel/src/main/java/com/caneryilmaz/apps/luckywheel/ui/LuckyWheelView.kt +++ b/luckywheel/src/main/java/com/caneryilmaz/apps/luckywheel/ui/LuckyWheelView.kt @@ -1252,8 +1252,8 @@ class LuckyWheelView @JvmOverloads constructor( * this function is not for user */ private fun clearArrowAnimation() { - arrowRightSwingAnimator!!.cancel() - arrowLeftSwingAnimator!!.cancel() + arrowRightSwingAnimator?.cancel() + arrowLeftSwingAnimator?.cancel() val arrowCenterPositionAnimator = when (arrowPosition) { ArrowPosition.TOP -> {