mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-29 03:01:50 +03:00
style(swift): fix lint and formatting warnings
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user