From d0e64c821077e51b87d4f4b5cdc2fa55b8b80924 Mon Sep 17 00:00:00 2001 From: kunfei Date: Tue, 5 Nov 2019 19:53:09 +0800 Subject: [PATCH] up --- app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt b/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt index bd8ea22b0..d0cd7ae0b 100644 --- a/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt +++ b/app/src/main/java/io/legado/app/ui/audio/AudioPlayActivity.kt @@ -29,7 +29,6 @@ import io.legado.app.utils.getViewModel import io.legado.app.utils.observeEvent import io.legado.app.utils.snackbar import kotlinx.android.synthetic.main.activity_audio_play.* -import kotlinx.android.synthetic.main.activity_book_read.* import kotlinx.android.synthetic.main.view_title_bar.* import org.apache.commons.lang3.time.DateFormatUtils import org.jetbrains.anko.sdk27.listeners.onClick @@ -134,7 +133,7 @@ class AudioPlayActivity : VMBaseActivity(R.layout.activity_a override fun onKeyLongPress(keyCode: Int, event: KeyEvent?): Boolean { when (keyCode) { KeyEvent.KEYCODE_BACK -> { - page_view.snackbar(R.string.to_backstage, R.string.ok) { + title_bar.snackbar(R.string.to_backstage, R.string.ok) { startActivity() } return true