purple: disable apple IAP ui by default
We do not have Apple In-app purchases ready for the upcoming release. This commit hides IAP UI/UX behind a developer feature flag which is off by default, and shows a link inviting the user to visit the website to learn more. It also makes the link go to the normal Damus website. 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
e649c49981
commit
cdd5327829
@@ -208,6 +208,9 @@ class UserSettingsStore: ObservableObject {
|
||||
@StringSetting(key: "purple_environment", default_value: .production)
|
||||
var purple_enviroment: DamusPurpleEnvironment
|
||||
|
||||
@Setting(key: "enable_experimental_purple_iap_support", default_value: false)
|
||||
var enable_experimental_purple_iap_support: Bool
|
||||
|
||||
@Setting(key: "emoji_reactions", default_value: default_emoji_reactions)
|
||||
var emoji_reactions: [String]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user