in shared/src/androidMain/kotlin/org/jetbrains/kotlinconf/AndroidLocalNotificationService.kt [69:90]
override fun post(
localNotificationId: LocalNotificationId,
title: String,
message: String,
time: LocalDateTime?,
) {
logger.log(LOG_TAG) { "Posting notification: $localNotificationId, $title at $time" }
if (time != null) {
scheduleNotification(
title = title,
message = message,
localNotificationId = localNotificationId,
time = time,
)
} else {
showNotification(
title = title,
message = message,
localNotificationId = localNotificationId,
)
}
}