Skip to content

Commit

Permalink
refactor: Modify import of AnimatedVisibility
Browse files Browse the repository at this point in the history
  • Loading branch information
vinaygregoryjohn183 committed Apr 22, 2024
1 parent 9b0e4f0 commit ca290bd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit ca290bd

Please sign in to comment.