fix: Fix categories not being shown when editing
This commit is contained in:
parent
11e3625d26
commit
8e412b3587
|
@ -223,10 +223,9 @@ class CreateEventActivity : AppCompatActivity() {
|
|||
eventCategories.clear() // should be empty, but it doesn't hurt
|
||||
eventCategories.addAll(newEventCategories)
|
||||
|
||||
// TODO: For some reason, the categories still aren't shown here
|
||||
|
||||
@Suppress("NotifyDataSetChanged")
|
||||
categoryRecyclerView.adapter!!.notifyDataSetChanged()
|
||||
updateCategoryView()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue