Skip to content

Commit

Permalink
Some small fixes for RNTP
Browse files Browse the repository at this point in the history
  • Loading branch information
dcvz committed Jul 27, 2023
1 parent 1cb7bd2 commit 7ba0696
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ data class NofiticationIconActionConfig(
/** Used to configure the properties of a standard notification button */
data class NofiticationPlayPauseActionConfig(
@DrawableRes val playIcon: Int? = null,
@DrawableRes val pauseIcon: Int? = null,
@DrawableRes var pauseIcon: Int? = null,
val isCompact: Boolean = false
)
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ class NotificationManager internal constructor(
mediaSessionConnector.setMetadataDeduplicationEnabled(true)
}

public fun getMediaMetadataCompat(): MediaMetadataCompat {
fun getMediaMetadataCompat(): MediaMetadataCompat {
return MediaMetadataCompat.Builder().apply {
getArtist()?.let {
putString(MediaMetadataCompat.METADATA_KEY_ARTIST, it)
Expand Down Expand Up @@ -648,7 +648,7 @@ class NotificationManager internal constructor(
}
}

private fun hideNotification() {
fun hideNotification() {
internalNotificationManager?.setPlayer(null)
internalNotificationManager = null
invalidate()
Expand Down

0 comments on commit 7ba0696

Please sign in to comment.