style(swift): fix lint and formatting warnings
This commit is contained in:
1 parent
3a08e6df9d
commit
dde9fddae4
8 files changed
+43
-25
No files matched your search
@@ -34,6 +34,7 @@ actor BridgeConnectionHandler {
|
||||
case error(code: String, message: String)
|
||||
}
|
||||
|
||||
// swiftlint:disable:next cyclomatic_complexity
|
||||
func run(
|
||||
resolveAuth: @escaping @Sendable (BridgeHello) async -> AuthResult,
|
||||
handlePair: @escaping @Sendable (BridgePairRequest) async -> PairResult,
|
||||
|
||||
@@ -82,11 +82,11 @@ struct OnboardingView: View {
|
||||
init(
|
||||
state: AppState = AppStateStore.shared,
|
||||
permissionMonitor: PermissionMonitor = .shared,
|
||||
masterDiscovery: MasterDiscoveryModel = MasterDiscoveryModel())
|
||||
discoveryModel: MasterDiscoveryModel = MasterDiscoveryModel())
|
||||
{
|
||||
self._state = ObservedObject(wrappedValue: state)
|
||||
self._permissionMonitor = ObservedObject(wrappedValue: permissionMonitor)
|
||||
self._masterDiscovery = StateObject(wrappedValue: masterDiscovery)
|
||||
self._masterDiscovery = StateObject(wrappedValue: discoveryModel)
|
||||
}
|
||||
|
||||
var body: some View {
|
||||
|
||||
Reference in new issue
Block a user