From 1b3b16478c94d6067dfcb684eb8a010e7e9b422f Mon Sep 17 00:00:00 2001 From: Schwifty Date: Sun, 22 Mar 2026 19:47:03 +0000 Subject: [PATCH] fix: remove duplicate color definitions from Assets.xcassets to resolve ambiguity PayfritGreen and PayfritGreenDark were defined in both Assets.xcassets (as .colorset files) and in BrandColors.swift (as Color extensions). All code references the Swift extension (.payfritGreen), so the asset catalog versions are redundant and cause ambiguity. Removed the colorsets. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../PayfritGreen.colorset/Contents.json | 20 ------------------- .../PayfritGreenDark.colorset/Contents.json | 20 ------------------- 2 files changed, 40 deletions(-) delete mode 100644 PayfritBeacon/Assets.xcassets/PayfritGreen.colorset/Contents.json delete mode 100644 PayfritBeacon/Assets.xcassets/PayfritGreenDark.colorset/Contents.json diff --git a/PayfritBeacon/Assets.xcassets/PayfritGreen.colorset/Contents.json b/PayfritBeacon/Assets.xcassets/PayfritGreen.colorset/Contents.json deleted file mode 100644 index 3e87133..0000000 --- a/PayfritBeacon/Assets.xcassets/PayfritGreen.colorset/Contents.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "colors" : [ - { - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "1.000", - "blue" : "0x4B", - "green" : "0xB2", - "red" : "0x22" - } - }, - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/PayfritBeacon/Assets.xcassets/PayfritGreenDark.colorset/Contents.json b/PayfritBeacon/Assets.xcassets/PayfritGreenDark.colorset/Contents.json deleted file mode 100644 index feee4c1..0000000 --- a/PayfritBeacon/Assets.xcassets/PayfritGreenDark.colorset/Contents.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "colors" : [ - { - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "1.000", - "blue" : "0x3A", - "green" : "0x8A", - "red" : "0x1A" - } - }, - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -}