Code Cleanup

This commit is contained in:
Prathamesh More 2022-01-29 00:04:46 +05:30
parent 2bffff1eaa
commit 5c1a88b32b
17 changed files with 46 additions and 43 deletions

View file

@ -351,10 +351,10 @@ abstract class AbsSlidingMusicPanelActivity : AbsMusicServiceActivity() {
}
private fun updateColor() {
libraryViewModel.paletteColor.observe(this, { color ->
libraryViewModel.paletteColor.observe(this) { color ->
this.paletteColor = color
onPaletteColorChanged()
})
}
}
fun setBottomNavVisibility(visible: Boolean, animate: Boolean = false, hideBottomSheet: Boolean = MusicPlayerRemote.playingQueue.isEmpty()) {