Skip to content

Commit

Permalink
[Fix]Xcode 15.0.1 incompatibility II
Browse files Browse the repository at this point in the history
  • Loading branch information
ipavlidakis committed Jan 14, 2025
1 parent 008af11 commit fc9b064
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ struct DemoManualQualitySelectionButtonView: View {
private func buttonView(
for manualQuality: ManualQuality
) -> some View {
let title = {
let title: String = {
switch manualQuality {
case .auto:
return "Auto quality"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ struct DemoReconnectionButtonView: View {
private func buttonView(
for reconnectStrategy: ReconnectStrategy
) -> some View {
let (title, icon) = {
let (title, icon): (String, String) = {
switch reconnectStrategy {
case .fast:
return ("Fast", "hare")
Expand Down
8 changes: 4 additions & 4 deletions DemoApp/Sources/Views/Login/AddUserView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ struct DemoCustomEnvironmentView: View {
token: String,
completionHandler: @escaping (AppEnvironment.BaseURL, String, String) -> Void
) {
self.baseURL = baseURL
self.apiKey = apiKey
self.token = token
usesDefaultPushNotificationConfig = AppState.shared.pushNotificationConfiguration == .default
_baseURL = .init(initialValue: baseURL)
_apiKey = .init(initialValue: apiKey)
_token = .init(initialValue: token)
_usesDefaultPushNotificationConfig = .init(initialValue: AppState.shared.pushNotificationConfiguration == .default)
self.completionHandler = completionHandler
}

Expand Down

0 comments on commit fc9b064

Please sign in to comment.