OWSAlerts.showErrorAlert(message:NSLocalizedString("ERROR_COULD_NOT_FETCH_CONTACTS",comment:"Error indicating that the phone's contacts could not be retrieved."))
}
}
funccontactsPickerDidCancel(_:ContactsPicker){
@ -184,7 +189,7 @@ class InviteFlow: NSObject, MFMessageComposeViewControllerDelegate, MFMailCompos
letinviteText=NSLocalizedString("SMS_INVITE_BODY",comment:"body sent to contacts when inviting to Install Signal")
letwarning=UIAlertController(title:nil,message:NSLocalizedString("SEND_INVITE_FAILURE",comment:"Alert body after invite failed"),preferredStyle:.alert)
@ -205,6 +209,7 @@ class InviteFlow: NSObject, MFMessageComposeViewControllerDelegate, MFMailCompos
Logger.debug("\(self.TAG) user cancelled message invite")
}
}
}
//MARK:Mail
@ -230,7 +235,6 @@ class InviteFlow: NSObject, MFMessageComposeViewControllerDelegate, MFMailCompos
letwarning=UIAlertController(title:nil,message:NSLocalizedString("SEND_INVITE_FAILURE",comment:"Alert body after invite failed"),preferredStyle:.alert)
@ -264,5 +265,6 @@ class InviteFlow: NSObject, MFMessageComposeViewControllerDelegate, MFMailCompos
Logger.debug("\(self.TAG) user cancelled mail invite.")