Fix play flavor build (#1740)

This commit is contained in:
Rafał Borcz 2021-12-31 12:10:56 +01:00 committed by GitHub
parent e6b2acabd5
commit 5321d00ee9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.Job import kotlinx.coroutines.Job
import kotlinx.coroutines.launch import kotlinx.coroutines.launch
import timber.log.Timber import timber.log.Timber
import java.time.LocalDateTime import java.time.Instant
import javax.inject.Inject import javax.inject.Inject
@SuppressLint("MissingFirebaseInstanceTokenRefresh") @SuppressLint("MissingFirebaseInstanceTokenRefresh")
@ -36,7 +36,7 @@ class AppMessagingService : FirebaseMessagingService() {
title = title, title = title,
content = content, content = content,
data = customData, data = customData,
date = LocalDateTime.now(), date = Instant.now(),
type = NotificationType.PUSH, type = NotificationType.PUSH,
studentId = -1 studentId = -1
) )