Skip to content

Commit

Permalink
Minor docs fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ipavlidakis committed Apr 26, 2024
1 parent aab4346 commit e2b8ba3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/docs/iOS/06-advanced/03-callkit-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ var voIPTokenObservationCancellable: AnyCancellable?
voIPTokenObservationCancellable = callKitPushNotificationAdapter.$deviceToken.sink { [streamVideo] updatedDeviceToken in
Task {
if let lastVoIPToken {
try await streamVideo.deleteDevice(id: updatedDeviceToken)
try await streamVideo.deleteDevice(id: lastVoIPToken)
}
try await streamVideo.setVoipDevice(id: updatedDeviceToken)
lastVoIPToken = updatedDeviceToken
Expand Down

0 comments on commit e2b8ba3

Please sign in to comment.