From ca290bdd08676e8b1fbb182f8e316b9cec7cc8fa Mon Sep 17 00:00:00 2001 From: Vinay Gregory John Date: Mon, 22 Apr 2024 11:28:44 +0530 Subject: [PATCH] refactor: Modify import of AnimatedVisibility --- .../main/java/com/keyvalue/siren/androidsdk/core/SDKCoreUI.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/siren-sdk/src/main/java/com/keyvalue/siren/androidsdk/core/SDKCoreUI.kt b/siren-sdk/src/main/java/com/keyvalue/siren/androidsdk/core/SDKCoreUI.kt index 4afc767..84a343e 100644 --- a/siren-sdk/src/main/java/com/keyvalue/siren/androidsdk/core/SDKCoreUI.kt +++ b/siren-sdk/src/main/java/com/keyvalue/siren/androidsdk/core/SDKCoreUI.kt @@ -1,6 +1,7 @@ package com.keyvalue.siren.androidsdk.core import android.content.Context +import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.EnterTransition import androidx.compose.animation.core.tween import androidx.compose.animation.shrinkVertically @@ -598,7 +599,7 @@ abstract class SDKCoreUI(context: Context, userToken: String, recipientId: Strin if (notificationData != null) { it(notificationData) } - } ?: androidx.compose.animation.AnimatedVisibility(visible = deletedItem != notificationData?.id, exit = shrinkVertically(animationSpec = tween(200)), enter = EnterTransition.None) { + } ?: this@Column.AnimatedVisibility(visible = deletedItem != notificationData?.id, exit = shrinkVertically(animationSpec = tween(200)), enter = EnterTransition.None) { NotificationCard( notification = notificationData, cardProps = props.cardProps,