mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 06:10:31 +05:30
Merge pull request #3647 from Bnyro/master
Fix crash in Subscriptions fragment
This commit is contained in:
commit
aa5f2fc1a4
@ -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