Changes
1 changed files (+20/-1)
-
-
@@ -45,7 +45,7 @@ Text("Connect")} } case .loading: ProgressView() Loading() case .open(let conn, let (host, port)): ConnectedScreen(conn: conn) .environment(self.conn)
-
@@ -85,3 +85,22 @@ }.focusedValue(conn) } } private struct Loading: View { var body: some View { VStack { ProgressView { Text( "Connecting to Roon Server.\nMake sure you granted access at Settings > Extension page in official Roon client." ) .multilineTextAlignment(.center) } } } } // MARK: - Preview #Preview("Loading") { Loading() }
-