Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 2a508db

Browse files
authored
Merge pull request #206 from wordpress-mobile/issue/13664-update_magic_link_instructions
Updating magic link instruction text.
2 parents 82e958b + c128a18 commit 2a508db

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

WordPressAuthenticator.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.11.0-beta.9"
3+
s.version = "1.11.0-beta.10"
44
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
55

66
s.description = <<-DESC

WordPressAuthenticator/NUX/NUXLinkMailViewController.swift

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,14 +75,8 @@ class NUXLinkMailViewController: LoginViewController {
7575

7676
usePasswordButton?.isHidden = emailMagicLinkSource == .signup
7777

78-
label?.text = {
79-
switch emailMagicLinkSource {
80-
case .login:
81-
return NSLocalizedString("Your magic link is on its way! Check your email on this device, and tap the link in the email you receive from WordPress.com", comment: "Instructional text on how to open the email containing a magic link.")
82-
case .signup:
83-
return NSLocalizedString("We sent you a magic signup link! Check your email on this device, and tap the link in the email to finish signing up.", comment: "Instructional text on how to open the email containing a magic link.")
84-
}
85-
}()
78+
label?.text = NSLocalizedString("Check your email on this device, and tap the link in the email you received from WordPress.com.\n\nNot seeing the email? Check your Spam or Junk Mail folder.", comment: "Instructional text on how to open the email containing a magic link.")
79+
8680
label?.textColor = WordPressAuthenticator.shared.style.instructionColor
8781
}
8882

0 commit comments

Comments
 (0)