From 70816de12870d7bf4097fa31a9dd377b0d2fa5d2 Mon Sep 17 00:00:00 2001 From: kunfei Date: Wed, 11 Sep 2019 21:33:13 +0800 Subject: [PATCH] up --- .../io/legado/app/ui/readbook/config/ReadAloudDialog.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt index 90f2d9415..dc5d26350 100644 --- a/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt +++ b/app/src/main/java/io/legado/app/ui/readbook/config/ReadAloudDialog.kt @@ -118,10 +118,10 @@ class ReadAloudDialog : DialogFragment() { } private fun upPlayState(state: Int) { - if (state == Status.PAUSE) { - iv_play_pause.setImageResource(R.drawable.ic_play_24dp) - } else { + if (state == Status.PLAY) { iv_play_pause.setImageResource(R.drawable.ic_pause_24dp) + } else { + iv_play_pause.setImageResource(R.drawable.ic_play_24dp) } }