We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3af9324 commit de1b19fCopy full SHA for de1b19f
app/src/main/java/uk/co/sentinelweb/cuer/app/ui/main/MainActivity.kt
@@ -237,7 +237,7 @@ class MainActivity :
237
navigationProvider.checkForPendingNavigation(null)
238
?.apply { navRouter.navigate(this) }
239
240
- hidePlayerIfOnboarding()
+ hideShowPlayerIfOnboarding()
241
}
242
243
override fun onStop() {
@@ -287,12 +287,14 @@ class MainActivity :
287
fun isPlayerShowing() = playerFragment.isVisible()
288
289
290
- private fun hidePlayerIfOnboarding() {
+ private fun hideShowPlayerIfOnboarding() {
291
if (isOnboarding) {
292
lifecycleScope.launch {
293
delay(500)
294
hidePlayer()
295
296
+ } else {
297
+ showPlayer()
298
299
300
0 commit comments