Skip to content

Commit

Permalink
Change CGColor to String hex for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
0xLeif committed Jan 23, 2024
1 parent 90ded94 commit bf5b4fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/AppStateTests/AppStateTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ fileprivate extension Application {
state(initial: "Leif")
}

var colors: State<[String: CGColor]> {
state(initial: ["primary": CGColor(red: 1, green: 0, blue: 1, alpha: 1)])
var colors: State<[String: String]> {
state(initial: ["primary": "#A020F0"])
}
}

Expand Down

0 comments on commit bf5b4fa

Please sign in to comment.