mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-17 03:09:19 +01:00
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,
|
||||
configuration: Configuration
|
||||
) {
|
||||
cell.notificationView.viewModel.context = context
|
||||
cell.notificationView.viewModel.authContext = configuration.authContext
|
||||
|
||||
StatusSection.setupStatusPollDataSource(
|
||||
|
@ -107,6 +107,7 @@ extension ReportSection {
|
||||
statusView: cell.statusView
|
||||
)
|
||||
|
||||
cell.statusView.viewModel.context = context
|
||||
cell.statusView.viewModel.authContext = configuration.authContext
|
||||
|
||||
cell.configure(
|
||||
|
@ -104,6 +104,7 @@ extension SearchResultSection {
|
||||
statusView: cell.statusView
|
||||
)
|
||||
|
||||
cell.statusView.viewModel.context = context
|
||||
cell.statusView.viewModel.authContext = configuration.authContext
|
||||
|
||||
cell.configure(
|
||||
|
Loading…
Reference in New Issue
Block a user