Skip to content

Commit

Permalink
[simba/#18] fix 에러 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
BAEK0111 committed May 6, 2024
1 parent 5d99e86 commit 0cb2fc9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions UMC_6th/app/src/main/java/com/example/umc_6th/SongActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ class SongActivity : AppCompatActivity() {
// }

binding.songMiniplayerIv.setOnClickListener{
setPlayerStatus(false)
setPlayerStatus(true)
}
binding.songPauseIv.setOnClickListener{
setPlayerStatus(true)
setPlayerStatus(false)
}
}

Expand Down Expand Up @@ -75,11 +75,11 @@ class SongActivity : AppCompatActivity() {
timer.isPlaying = isPlaying

if(isPlaying){
binding.songMiniplayerIv.visibility= View.VISIBLE
binding.songPauseIv.visibility = View.GONE
} else{
binding.songMiniplayerIv.visibility=View.GONE
binding.songMiniplayerIv.visibility= View.GONE
binding.songPauseIv.visibility = View.VISIBLE
} else{
binding.songMiniplayerIv.visibility=View.VISIBLE
binding.songPauseIv.visibility = View.GONE
}
}

Expand Down

0 comments on commit 0cb2fc9

Please sign in to comment.