Skip to content

Commit

Permalink
T13738504 - IOS-7888 Fixed contactInviteSent image names
Browse files Browse the repository at this point in the history
(cherry picked from commit 53731f6)
  • Loading branch information
gmagpayo committed Dec 15, 2023
1 parent 507c142 commit c7b4cc4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion iMEGA/API/Requests/MEGAInviteContactRequestDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down
2 changes: 1 addition & 1 deletion iMEGA/Utils/MEGALinkManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c7b4cc4

Please sign in to comment.