Skip to content

Commit 5cbc458

Browse files
committed
Fix that permission granted status is not updated on view appear
1 parent 129905f commit 5cbc458

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Core/Sources/HostApp/GeneralView.swift

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,7 @@ struct ExtensionServiceView: View {
109109
}
110110
.padding()
111111
.onAppear {
112-
Task {
113-
let service = try getService()
114-
xpcServiceVersion = try await service.getXPCServiceVersion().version
115-
}
112+
checkStatus()
116113
}
117114
}
118115

0 commit comments

Comments
 (0)