fix: AppContext is missing for some StatusView.ViewModels
This commit is contained in:
parent
85f4c454a3
commit
110a89f499
|
@ -76,6 +76,7 @@ extension NotificationSection {
|
||||||
viewModel: NotificationTableViewCell.ViewModel,
|
viewModel: NotificationTableViewCell.ViewModel,
|
||||||
configuration: Configuration
|
configuration: Configuration
|
||||||
) {
|
) {
|
||||||
|
cell.notificationView.viewModel.context = context
|
||||||
cell.notificationView.viewModel.authContext = configuration.authContext
|
cell.notificationView.viewModel.authContext = configuration.authContext
|
||||||
|
|
||||||
StatusSection.setupStatusPollDataSource(
|
StatusSection.setupStatusPollDataSource(
|
||||||
|
|
|
@ -107,6 +107,7 @@ extension ReportSection {
|
||||||
statusView: cell.statusView
|
statusView: cell.statusView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cell.statusView.viewModel.context = context
|
||||||
cell.statusView.viewModel.authContext = configuration.authContext
|
cell.statusView.viewModel.authContext = configuration.authContext
|
||||||
|
|
||||||
cell.configure(
|
cell.configure(
|
||||||
|
|
|
@ -104,6 +104,7 @@ extension SearchResultSection {
|
||||||
statusView: cell.statusView
|
statusView: cell.statusView
|
||||||
)
|
)
|
||||||
|
|
||||||
|
cell.statusView.viewModel.context = context
|
||||||
cell.statusView.viewModel.authContext = configuration.authContext
|
cell.statusView.viewModel.authContext = configuration.authContext
|
||||||
|
|
||||||
cell.configure(
|
cell.configure(
|
||||||
|
|
Loading…
Reference in New Issue