StatusRow: Remove client env object

This commit is contained in:
Thomas Ricouard 2023-03-02 21:16:03 +01:00
parent 37ed178c3f
commit df80321433

View file

@ -12,7 +12,6 @@ public struct StatusRowView: View {
@Environment(\.isCompact) private var isCompact: Bool
@EnvironmentObject private var theme: Theme
@EnvironmentObject private var client: Client
@StateObject var viewModel: StatusRowViewModel
@ -146,7 +145,7 @@ public struct StatusRowView: View {
}
.environmentObject(
StatusDataControllerProvider.shared.dataController(for: viewModel.finalStatus,
client: client)
client: viewModel.client)
)
}