mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 11:39:42 +01:00
fix ktlint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
parent
b7250f953e
commit
8c47b89ce5
@ -494,7 +494,12 @@ class NotificationWorker(context: Context, workerParams: WorkerParameters) : Wor
|
|||||||
|
|
||||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||||
when (pushMessage.type) {
|
when (pushMessage.type) {
|
||||||
TYPE_CHAT, TYPE_ROOM, TYPE_RECORDING, TYPE_REMINDER, TYPE_ADMIN_NOTIFICATIONS, TYPE_REMOTE_TALK_SHARE -> {
|
TYPE_CHAT,
|
||||||
|
TYPE_ROOM,
|
||||||
|
TYPE_RECORDING,
|
||||||
|
TYPE_REMINDER,
|
||||||
|
TYPE_ADMIN_NOTIFICATIONS,
|
||||||
|
TYPE_REMOTE_TALK_SHARE -> {
|
||||||
notificationBuilder.setChannelId(
|
notificationBuilder.setChannelId(
|
||||||
NotificationUtils.NotificationChannels.NOTIFICATION_CHANNEL_MESSAGES_V4.name
|
NotificationUtils.NotificationChannels.NOTIFICATION_CHANNEL_MESSAGES_V4.name
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user