Merge pull request #6142 from FineFindus/fix/sub-crash

fix(SubscriptionsFragment): use null safe call
This commit is contained in:
Bnyro 2024-06-16 19:29:49 +02:00 committed by GitHub
commit dc029bdad9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -426,7 +426,7 @@ class SubscriptionsFragment : DynamicLayoutManagerFragment() {
fun removeItem(videoId: String) {
feedAdapter?.removeItemById(videoId)
sortedFeed.removeAll { it.url!!.toID() != videoId }
sortedFeed.removeAll { it.url?.toID() != videoId }
}
override fun onConfigurationChanged(newConfig: Configuration) {