Skip to content

Commit

Permalink
-Custom Notification Setup with Alert Kmp
Browse files Browse the repository at this point in the history
  • Loading branch information
KhubaibKhan4 committed Nov 24, 2024
1 parent 94e1264 commit 25b3ef1
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -787,8 +787,10 @@ fun DetailContent(
}
}

if (notificationMessage.value.isNotBlank()) {
Notify(notificationMessage.value)
if (notificationMessage.value.isNotBlank() && subscribedMenu.not()) {
//Notify(notificationMessage.value)
val notification = createNotification(type = NotificationType.TOAST)
notification.show(message = notificationMessage.value, title = "Subscription", duration = NotificationDuration.LONG)
}

HorizontalDivider(
Expand Down

0 comments on commit 25b3ef1

Please sign in to comment.