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