Fix crash in Subscriptions fragment

This commit is contained in:
Bnyro 2023-04-27 19:39:22 +02:00
parent e8b2d8d02c
commit fc970d7cdf

View File

@ -174,6 +174,8 @@ class SubscriptionsFragment : Fragment() {
private suspend fun initChannelGroups() {
channelGroups = DatabaseHolder.Database.subscriptionGroupsDao().getAll()
val binding = _binding ?: return
binding.chipAll.isChecked = true
binding.channelGroups.removeAllViews()