mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 15:30:31 +05:30
Merge pull request #7175 from Bnyro/master
fix: wrong initial state of hide watched videos from feed filter
This commit is contained in:
commit
71288ec3e0
@ -11,7 +11,6 @@ import android.content.pm.ActivityInfo
|
||||
import android.content.res.Configuration
|
||||
import android.graphics.Bitmap
|
||||
import android.media.session.PlaybackState
|
||||
import android.os.Build
|
||||
import android.os.Bundle
|
||||
import android.os.Handler
|
||||
import android.os.Looper
|
||||
@ -758,7 +757,7 @@ class PlayerFragment : Fragment(R.layout.fragment_player), OnlinePlayerOptions {
|
||||
val currentPosition =
|
||||
playerController.currentPosition.toFloat() / 1000
|
||||
openScreenshotFile.launch("${streams.title}-${currentPosition}.png")
|
||||
}, Handler(Looper.getMainLooper()))
|
||||
}, handler)
|
||||
}
|
||||
|
||||
binding.playerChannel.setOnClickListener {
|
||||
|
@ -65,6 +65,7 @@ class FilterSortBottomSheet : ExpandedBottomSheet(R.layout.filter_sort_sheet) {
|
||||
binding.filterShorts.isChecked = ContentFilter.SHORTS.isEnabled
|
||||
binding.filterLivestreams.isChecked = ContentFilter.LIVESTREAMS.isEnabled
|
||||
binding.hideWatchedCheckbox.isChecked = hideWatched
|
||||
binding.showUpcomingCheckbox.isChecked = showUpcoming
|
||||
}
|
||||
|
||||
private fun observeSortChanges() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user