Skip to content

Commit f890064

Browse files
authored
Merge pull request #17855 from wordpress-mobile/fix/onboarding-quick-start-prompt-key
Onboarding Improvements: Fix Quick Start for self-hosted sites w/o Jetpack
2 parents fedbd94 + 8648244 commit f890064

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

RELEASE-NOTES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
-----
33
* [**] Some of the screens of the app has a new, fresh and more modern visual, including the initial one: My Site. [#17812]
44
* [**] Notifications: added a button to mark all notifications in the selected filter as read. [#17840]
5+
* [*] Quick Start: Fixed a bug where a user logging in via a self-hosted site not connected to Jetpack would see Quick Start when selecting "No thanks" on the Quick Start prompt. [#17855]
56

67
19.1
78
-----

WordPress/Classes/ViewRelated/Blog/QuickStartSettings.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ final class QuickStartSettings {
3535
}
3636

3737
private func promptWasDismissedKey(for blog: Blog) -> String? {
38-
guard let siteID = blog.dotComID?.intValue else {
39-
return nil
40-
}
38+
let siteID = blog.dotComID?.intValue ?? 0
4139
return "QuickStartPromptWasDismissed-\(siteID)"
4240
}
4341

0 commit comments

Comments
 (0)