This commit is contained in:
Bnyro 2022-07-07 16:37:26 +02:00
parent d4d1087803
commit 1f5c6eb76c

View File

@ -266,7 +266,7 @@ class MainActivity : AppCompatActivity() {
} }
override fun onBackPressed() { override fun onBackPressed() {
if (binding.mainMotionLayout.progress == 1F) { if (binding.mainMotionLayout.progress == 0F) {
try { try {
minimizePlayer() minimizePlayer()
} catch (e: Exception) { } catch (e: Exception) {