package eu.friedcutlet.yokan.services.notifications import eu.friedcutlet.yokan.domain.ProfileId actual fun createPlatformNotificationService(profileId: ProfileId): NotificationService = WasmNotificationService(profileId) private class WasmNotificationService(private val profileId: ProfileId) : NotificationService { override fun supported(): Boolean = true override fun notify(payload: NotificationPayload) = InAppNotifications.post(payload.copy(profileId = profileId)) override fun cancel(channel: NotificationChannel, tag: String?) = Unit }