mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
Fix crash in Subscriptions fragment
This commit is contained in:
parent
e8b2d8d02c
commit
fc970d7cdf
@ -174,6 +174,8 @@ class SubscriptionsFragment : Fragment() {
|
|||||||
private suspend fun initChannelGroups() {
|
private suspend fun initChannelGroups() {
|
||||||
channelGroups = DatabaseHolder.Database.subscriptionGroupsDao().getAll()
|
channelGroups = DatabaseHolder.Database.subscriptionGroupsDao().getAll()
|
||||||
|
|
||||||
|
val binding = _binding ?: return
|
||||||
|
|
||||||
binding.chipAll.isChecked = true
|
binding.chipAll.isChecked = true
|
||||||
binding.channelGroups.removeAllViews()
|
binding.channelGroups.removeAllViews()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user