We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c94228 commit 503a0b4Copy full SHA for 503a0b4
DemoApp/Sources/Views/CallView/CallingView/DemoCallingViewModifier.swift
@@ -46,17 +46,15 @@ struct DemoCallingViewModifier: ViewModifier {
46
47
// We may get in this situation when launching the app from a
48
// deeplink.
49
-
50
if deeplinkInfo.callId.isEmpty {
51
- joinCallIfNeeded(with: self.text.wrappedValue, callType: deeplinkInfo.callType)
+ joinCallIfNeeded(with: self.text.wrappedValue, callType: callType)
52
} else {
53
self.text.wrappedValue = deeplinkInfo.callId
54
joinCallIfNeeded(
55
with: self.text.wrappedValue,
56
- callType: deeplinkInfo.callType
+ callType: callType
57
)
58
}
59
- callType = deeplinkInfo.callType
60
61
.onChange(of: viewModel.callingState) { callingState in
62
switch callingState {
0 commit comments