fix: AppContext is missing for some StatusView.ViewModels

This commit is contained in:
Marcus Kida 2022-12-13 07:07:08 +01:00
parent 85f4c454a3
commit 110a89f499
No known key found for this signature in database
GPG Key ID: 19FF64E08013CA40
3 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,7 @@ extension NotificationSection {
viewModel: NotificationTableViewCell.ViewModel,
configuration: Configuration
) {
cell.notificationView.viewModel.context = context
cell.notificationView.viewModel.authContext = configuration.authContext
StatusSection.setupStatusPollDataSource(

View File

@ -107,6 +107,7 @@ extension ReportSection {
statusView: cell.statusView
)
cell.statusView.viewModel.context = context
cell.statusView.viewModel.authContext = configuration.authContext
cell.configure(

View File

@ -104,6 +104,7 @@ extension SearchResultSection {
statusView: cell.statusView
)
cell.statusView.viewModel.context = context
cell.statusView.viewModel.authContext = configuration.authContext
cell.configure(