mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 08:20:32 +05:30
Merge pull request #6005 from Bnyro/master
fix: crash when skip buttons enabled
This commit is contained in:
commit
9742b8cda5
@ -2,6 +2,8 @@ package com.github.libretube.ui.views
|
||||
|
||||
import android.content.Context
|
||||
import android.os.Bundle
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
import android.text.format.DateUtils
|
||||
import android.util.AttributeSet
|
||||
import android.view.Window
|
||||
@ -40,6 +42,8 @@ class OnlinePlayerView(
|
||||
private var trackSelector: TrackSelector? = null
|
||||
private var viewLifecycleOwner: LifecycleOwner? = null
|
||||
|
||||
private val handler = Handler(Looper.getMainLooper())
|
||||
|
||||
/**
|
||||
* The window that needs to be addressed for showing and hiding the system bars
|
||||
* If null, the activity's default/main window will be used
|
||||
|
Loading…
x
Reference in New Issue
Block a user