mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
Merge pull request #6212 from Bnyro/master
fix: dismiss fullscreen dialog when activity gets destroyed
This commit is contained in:
commit
b8b9ff77e6
@ -819,6 +819,10 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
runCatching {
|
||||||
|
if (fullscreenDialog.isShowing) fullscreenDialog.dismiss()
|
||||||
|
}
|
||||||
|
|
||||||
runCatching {
|
runCatching {
|
||||||
// unregister the receiver for player actions
|
// unregister the receiver for player actions
|
||||||
context?.unregisterReceiver(playerActionReceiver)
|
context?.unregisterReceiver(playerActionReceiver)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user