style(swift): fix lint and formatting warnings

This commit is contained in:
Peter Steinberger
2025-12-14 03:48:07 +00:00
parent 3a08e6df9d
commit dde9fddae4
8 changed files with 43 additions and 25 deletions

View File

@@ -4,7 +4,7 @@ import UIKit
@testable import Clawdis
@Suite struct SwiftUIRenderSmokeTests {
@MainActor private static func host<V: View>(_ view: V) -> UIWindow {
@MainActor private static func host(_ view: some View) -> UIWindow {
let window = UIWindow(frame: UIScreen.main.bounds)
window.rootViewController = UIHostingController(rootView: view)
window.makeKeyAndVisible()