Skip to content

Commit d92e6e9

Browse files
Fix linter errors
1 parent 273c632 commit d92e6e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/src/main/java/org/jellyfin/mobile/player/interaction/PlayerNotificationHelper.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class PlayerNotificationHelper(private val viewModel: PlayerViewModel) : KoinCom
6363
}
6464
}
6565

66-
@Suppress("DEPRECATION", "LongMethod")
66+
@Suppress("DEPRECATION", "LongMethod", "CyclomaticComplexMethod")
6767
fun postNotification() {
6868
val nm = notificationManager ?: return
6969
val player = viewModel.playerOrNull ?: return
@@ -128,7 +128,7 @@ class PlayerNotificationHelper(private val viewModel: PlayerViewModel) : KoinCom
128128
viewModel.mediaSession.setMetadata(
129129
MediaMetadata.Builder(it)
130130
.putBitmap(MediaMetadata.METADATA_KEY_ART, mediaIcon)
131-
.build()
131+
.build(),
132132
)
133133
}
134134
}

0 commit comments

Comments
 (0)