mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 07:50:31 +05:30
fix theme stuff
This commit is contained in:
parent
ffb3dd6743
commit
92dbd26b5f
@ -23,7 +23,7 @@
|
|||||||
android:requestLegacyExternalStorage="true"
|
android:requestLegacyExternalStorage="true"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/Theme.Purple"
|
android:theme="@style/Theme.Purple.Pure"
|
||||||
tools:targetApi="n">
|
tools:targetApi="n">
|
||||||
|
|
||||||
<activity
|
<activity
|
||||||
|
@ -739,7 +739,8 @@ class PlayerFragment : BaseFragment() {
|
|||||||
if (!isLive) seekToWatchPosition()
|
if (!isLive) seekToWatchPosition()
|
||||||
exoPlayer.prepare()
|
exoPlayer.prepare()
|
||||||
exoPlayer.play()
|
exoPlayer.play()
|
||||||
exoPlayerView.useController = true
|
// show controllers when not in picture in picture mode
|
||||||
|
if (!activity?.isInPictureInPictureMode!!) exoPlayerView.useController = true
|
||||||
initializePlayerNotification()
|
initializePlayerNotification()
|
||||||
if (sponsorBlockEnabled) fetchSponsorBlockSegments()
|
if (sponsorBlockEnabled) fetchSponsorBlockSegments()
|
||||||
// show comments if related streams disabled
|
// show comments if related streams disabled
|
||||||
|
Loading…
x
Reference in New Issue
Block a user