mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +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) {
|
fun removeItem(videoId: String) {
|
||||||
feedAdapter?.removeItemById(videoId)
|
feedAdapter?.removeItemById(videoId)
|
||||||
sortedFeed.removeAll { it.url!!.toID() != videoId }
|
sortedFeed.removeAll { it.url?.toID() != videoId }
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onConfigurationChanged(newConfig: Configuration) {
|
override fun onConfigurationChanged(newConfig: Configuration) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user