mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
Merge pull request #6142 from FineFindus/fix/sub-crash
fix(SubscriptionsFragment): use null safe call
This commit is contained in:
commit
dc029bdad9
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user