[Call links] Show join error sheet in completion of dismissing activity indicator modal

This commit is contained in:
Marissa Le Coz 2024-10-01 17:50:22 -04:00 committed by GitHub
parent 4153e5e62e
commit 48478de260
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -338,14 +338,15 @@ class GroupCallViewController: UIViewController {
}
} catch {
Logger.warn("Call link lobby presentation failed with error \(error)")
OWSActionSheets.showActionSheet(
title: CallStrings.callLinkErrorSheetTitle,
message: OWSLocalizedString(
"CALL_LINK_JOIN_CALL_FAILURE_SHEET_DESCRIPTION",
comment: "Description of sheet presented when joining call from call link sheet fails."
return {
OWSActionSheets.showActionSheet(
title: CallStrings.callLinkErrorSheetTitle,
message: OWSLocalizedString(
"CALL_LINK_JOIN_CALL_FAILURE_SHEET_DESCRIPTION",
comment: "Description of sheet presented when joining call from call link sheet fails."
)
)
)
return nil
}
}
}
}