From c7b4cc406485f467265cd1bc85e7f96bcafe25e7 Mon Sep 17 00:00:00 2001 From: Glazel Magpayo Date: Fri, 15 Dec 2023 16:02:16 +1300 Subject: [PATCH] T13738504 - IOS-7888 Fixed contactInviteSent image names (cherry picked from commit 53731f662639504531a85062ebbbe18f1c0c548e) --- iMEGA/API/Requests/MEGAInviteContactRequestDelegate.m | 2 +- .../Contacts/ContactLinkQR/ContactLinkQRViewController.m | 2 +- iMEGA/Utils/MEGALinkManager.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/iMEGA/API/Requests/MEGAInviteContactRequestDelegate.m b/iMEGA/API/Requests/MEGAInviteContactRequestDelegate.m index 90354ab538..821e833774 100755 --- a/iMEGA/API/Requests/MEGAInviteContactRequestDelegate.m +++ b/iMEGA/API/Requests/MEGAInviteContactRequestDelegate.m @@ -108,7 +108,7 @@ - (void)onRequestFinish:(MEGASdk *)api request:(MEGARequest *)request error:(MEG } CustomModalAlertViewController *customModalAlertVC = [[CustomModalAlertViewController alloc] init]; - customModalAlertVC.image = [UIImage imageNamed:@"inviteSent"]; + customModalAlertVC.image = [UIImage imageNamed:@"contactInviteSent"]; customModalAlertVC.viewTitle = LocalizedString(@"inviteSent", @"Title shown when the user sends a contact invitation"); customModalAlertVC.detail = detailText; customModalAlertVC.boldInDetail = request.email; diff --git a/iMEGA/My Account/Contacts/ContactLinkQR/ContactLinkQRViewController.m b/iMEGA/My Account/Contacts/ContactLinkQR/ContactLinkQRViewController.m index 5bc0942e20..911464791a 100644 --- a/iMEGA/My Account/Contacts/ContactLinkQR/ContactLinkQRViewController.m +++ b/iMEGA/My Account/Contacts/ContactLinkQR/ContactLinkQRViewController.m @@ -368,7 +368,7 @@ - (void)presentInviteModalForEmail:(NSString *)email fullName:(NSString *)fullNa } } if (isInOutgoingContactRequest) { - inviteOrDismissModal.image = [UIImage imageNamed:@"inviteSent"]; + inviteOrDismissModal.image = [UIImage imageNamed:@"contactInviteSent"]; inviteOrDismissModal.viewTitle = LocalizedString(@"inviteSent", @"Title shown when the user sends a contact invitation"); NSString *detailText = LocalizedString(@"dialog.inviteContact.outgoingContactRequest", @"Detail message shown when a contact has been invited. The [X] placeholder will be replaced on runtime for the email of the invited user"); detailText = [detailText stringByReplacingOccurrencesOfString:@"[X]" withString:email]; diff --git a/iMEGA/Utils/MEGALinkManager.m b/iMEGA/Utils/MEGALinkManager.m index 5e9b2f2ce9..6bd702938a 100644 --- a/iMEGA/Utils/MEGALinkManager.m +++ b/iMEGA/Utils/MEGALinkManager.m @@ -727,7 +727,7 @@ + (void)presentInviteModalForEmail:(NSString *)email fullName:(NSString *)fullNa } } if (isInOutgoingContactRequest) { - inviteOrDismissModal.image = [UIImage imageNamed:@"inviteSent"]; + inviteOrDismissModal.image = [UIImage imageNamed:@"contactInviteSent"]; inviteOrDismissModal.viewTitle = LocalizedString(@"inviteSent", @"Title shown when the user sends a contact invitation"); NSString *detailText = LocalizedString(@"dialog.inviteContact.outgoingContactRequest", @"Detail message shown when a contact has been invited. The [X] placeholder will be replaced on runtime for the email of the invited user"); detailText = [detailText stringByReplacingOccurrencesOfString:@"[X]" withString:email];