Fixed invisible bottom navbar sometimes and a crash

This commit is contained in:
Prathamesh More 2021-10-13 16:53:53 +05:30
parent c2647b9160
commit 9b376a2f4f
4 changed files with 13 additions and 8 deletions

View file

@ -327,8 +327,10 @@ class AlbumDetailsFragment : AbsMainActivityFragment(R.layout.fragment_album_det
}
private fun setColors(color: Int) {
binding.fragmentAlbumContent.shuffleAction.applyColor(color)
binding.fragmentAlbumContent.playAction.applyOutlineColor(color)
_binding?.fragmentAlbumContent?.apply {
shuffleAction.applyColor(color)
playAction.applyOutlineColor(color)
}
}
override fun onAlbumClick(albumId: Long, view: View) {