add developer mode view and setting

Signed-off-by: Bryan Montz <bryanmontz@me.com>
This commit is contained in:
Bryan Montz
2023-07-07 07:07:00 -05:00
committed by William Casarin
parent 6dfda93ff9
commit ebcfe3c25f
5 changed files with 39 additions and 0 deletions

View File

@@ -157,6 +157,9 @@ class UserSettingsStore: ObservableObject {
@Setting(key: "donation_percent", default_value: 0)
var donation_percent: Int
@Setting(key: "developer_mode", default_value: false)
var developer_mode: Bool
// Helper for inverse of disable_animation.
// disable_animation was introduced as a setting first, but it's more natural for the settings UI to show the inverse.