mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-28 16:00:31 +05:30
fix(SubscriptionsFragment): use null safe call
This commit is contained in:
parent
c29bd5c464
commit
2d182e05a4
@ -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