Skip to content

Commit

Permalink
Fix/suppress detekt warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxr1998 committed Jan 26, 2025
1 parent bec1680 commit 06ffdfe
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class PlayerNotificationHelper(private val viewModel: PlayerViewModel) : KoinCom
}
}

@Suppress("DEPRECATION", "LongMethod")
@Suppress("DEPRECATION", "CyclomaticComplexMethod", "LongMethod")
fun postNotification() {
val nm = notificationManager ?: return
val player = viewModel.playerOrNull ?: return
Expand Down Expand Up @@ -128,7 +128,7 @@ class PlayerNotificationHelper(private val viewModel: PlayerViewModel) : KoinCom
viewModel.mediaSession.setMetadata(
MediaMetadata.Builder(it)
.putBitmap(MediaMetadata.METADATA_KEY_ART, mediaIcon)
.build()
.build(),
)
}
}
Expand Down

0 comments on commit 06ffdfe

Please sign in to comment.