style(swift): fix lint and formatting warnings
This commit is contained in:
@@ -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