mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
ktlint
This commit is contained in:
parent
c0b204d0b8
commit
b6747e479d
@ -319,7 +319,10 @@ class PlayerFragment : Fragment() {
|
||||
super.onDestroy()
|
||||
try {
|
||||
exoPlayer.release()
|
||||
val nManager = context?.getSystemService(Context.NOTIFICATION_SERVICE) as NotificationManager
|
||||
// kill notification
|
||||
val nManager = context?.getSystemService(
|
||||
Context.NOTIFICATION_SERVICE
|
||||
) as NotificationManager
|
||||
nManager.cancel(notificationId)
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user