A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sindresorhus/Defaults/issues/139 below:

accentColor didn't work with Defaults · Issue #139 · sindresorhus/Defaults · GitHub

I set accent color to system orange in assets folder. And in code

static let traceColor = Defaults.Key<Color>("traceColor", default: Color.orange) // works
static let traceColor = Defaults.Key<Color>("traceColor", default: Color.accentColor) // doesn't work

when reset the default key,

Defaults.reset(.traceColor)

The accentColor set by reset is the system default blue instead my own setting orange. Any idea?

Defaults 7.2.0
Xcode 14.3.1 (14E300b)
iOS 16.5


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4