Add "Always show onboarding suggestions" developer setting
This commit adds a new setting that can be used by developers to test onboarding suggestions without having to make local changes to code or reinstall the app. Testing ------- Device: iPhone 15 Pro (Simulator) iOS: 17.0.1 Damus: This commit Coverage: 1. Starting the existing app under the default setting does not show onboarding suggestions 2. Turning the setting ON causes the app to show onboarding suggestions on every app restart 3. Turning the setting back OFF causes the app to no longer show onboarding suggestions Changelog-Added: Add "Always show onboarding suggestions" developer setting Signed-off-by: Daniel D’Aquino <daniel@daquino.me> Reviewed-by: William Casarin <jb55@jb55.com> Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
committed by
William Casarin
parent
cc385d3c3f
commit
b2e555284b
@@ -189,6 +189,9 @@ class UserSettingsStore: ObservableObject {
|
||||
@Setting(key: "developer_mode", default_value: false)
|
||||
var developer_mode: Bool
|
||||
|
||||
@Setting(key: "always_show_onboarding_suggestions", default_value: false)
|
||||
var always_show_onboarding_suggestions: Bool
|
||||
|
||||
@Setting(key: "emoji_reactions", default_value: default_emoji_reactions)
|
||||
var emoji_reactions: [String]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user