mirror of
git://jb55.com/damus
synced 2024-09-19 19:46:51 +00:00
settings: add donation_percent to settings
This will be used in damus donations splits
This commit is contained in:
parent
f9982e992a
commit
5aa0d6c3e1
@ -143,6 +143,9 @@ class UserSettingsStore: ObservableObject {
|
||||
|
||||
@Setting(key: "disable_animation", default_value: UIAccessibility.isReduceMotionEnabled)
|
||||
var disable_animation: Bool
|
||||
|
||||
@Setting(key: "donation_percent", default_value: 0)
|
||||
var donation_percent: Int
|
||||
|
||||
// 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.
|
||||
|
Loading…
Reference in New Issue
Block a user