Skip to content

Commit

Permalink
Fuck miniplayer don't show
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrave-dev committed Dec 23, 2023
1 parent a3aad28 commit 3a721aa
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/src/main/java/com/maxrave/simpmusic/ui/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -653,9 +653,7 @@ class MainActivity : AppCompatActivity() {
result.observe(this) {data ->
val queueData = data
Log.w("Check queue saved", queueData.toString())
if (runBlocking { viewModel.simpleMediaServiceHandler?.nowPlaying?.first() } != null) {
binding.miniplayer.visibility = View.VISIBLE
}
binding.miniplayer.visibility = View.VISIBLE
if (queueData.isNotEmpty()) {
Log.w("Check queue saved", queueData.toString())
Queue.clear()
Expand Down

0 comments on commit 3a721aa

Please sign in to comment.