Skip to content

Commit 870bea2

Browse files
committed
Fix compilation error
1 parent 2ef5dcd commit 870bea2

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

DemoApp/Sources/Components/Feedback/DemoFeedbackView.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ struct DemoFeedbackView: View {
128128

129129
// MARK: - Private helpers
130130

131+
@MainActor
131132
func checkIfDisconnectionErrorIsAvailable() {
132133
if call?.state.disconnectionError is ClientError.NetworkNotAvailable {
133134
toast = .init(

DocumentationTests/DocumentationTests/DocumentationTests/05-ui-cookbook/23-network-disruption.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ fileprivate func content() {
133133

134134
// MARK: - Private helpers
135135

136+
@MainActor
136137
func checkIfDisconnectionErrorIsAvailable() {
137138
if call?.state.disconnectionError is ClientError.NetworkNotAvailable {
138139
toast = .init(

docusaurus/docs/iOS/05-ui-cookbook/23-network-disruption

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ struct DemoFeedbackView: View {
149149

150150
// MARK: - Private helpers
151151

152+
@MainActor
152153
func checkIfDisconnectionErrorIsAvailable() {
153154
if call?.state.disconnectionError is ClientError.NetworkNotAvailable {
154155
toast = .init(

0 commit comments

Comments
 (0)