Browse Source

home(iOS): fix compile on remote build

osy 1 month ago
parent
commit
56a12d9ef5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Platform/iOS/UTMSingleWindowView.swift

+ 1 - 1
Platform/iOS/UTMSingleWindowView.swift

@@ -44,7 +44,7 @@ struct UTMSingleWindowView: View {
                 VMWindowView(id: identifier!, isInteractive: isInteractive).environmentObject(session)
             } else if isInteractive {
                 #if WITH_REMOTE
-                RemoteContentView(remoteClientState: data.remoteClient.state).environmentObject(data)
+                RemoteContentView(remoteClientState: data!.remoteClient.state).environmentObject(data!)
                 #else
                 ContentView().environmentObject(data!)
                 #endif