Skip to content
Snippets Groups Projects
Commit cace460d authored by Nicolas Pomepuy's avatar Nicolas Pomepuy
Browse files

Fix issues when back is pressed

parent 217a8a8a
No related branches found
No related tags found
1 merge request!1620Cleanup fixes
Pipeline #283290 passed with stage
in 9 minutes and 13 seconds
......@@ -140,6 +140,7 @@ class AudioPlayerActivity : BaseTvActivity(),KeycodeListener {
bookmarkListDelegate.hide()
return
}
finish()
}
})
}
......
......@@ -170,6 +170,7 @@ open class AudioPlayerContainerActivity : BaseActivity(), KeycodeListener {
onBackPressedDispatcher.addCallback(this, object : OnBackPressedCallback(true) {
override fun handleOnBackPressed() {
if (slideDownAudioPlayer()) return
finish()
}
})
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment