Merge pull request #7175 from Bnyro/master

fix: wrong initial state of hide watched videos from feed filter
This commit is contained in:
Bnyro 2025-03-08 11:31:17 +01:00 committed by GitHub
commit 71288ec3e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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() {