Widget shots: use the shipping app icon (light + dark variants)
- AppIconPreview now byte-identical to the real AppIcon.png (the preview had been pointing at an older Design/ export); added AppIconPreviewDark from AppIcon-dark.png so the mock shows the correct icon per appearance - Re-captured 9-widgets-dark + 10-widgets-light - 95/95 tests green; Release IPA rebuilt + re-served
|
Before Width: | Height: | Size: 850 KiB After Width: | Height: | Size: 841 KiB |
|
Before Width: | Height: | Size: 851 KiB After Width: | Height: | Size: 815 KiB |
|
Before Width: | Height: | Size: 1.2 MiB After Width: | Height: | Size: 1.0 MiB |
|
After Width: | Height: | Size: 239 KiB |
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"images" : [
|
||||
{
|
||||
"filename" : "AppIconPreviewDark.png",
|
||||
"idiom" : "universal",
|
||||
"scale" : "1x"
|
||||
}
|
||||
],
|
||||
"info" : {
|
||||
"author" : "xcode",
|
||||
"version" : 1
|
||||
}
|
||||
}
|
||||
@@ -6,6 +6,8 @@ import WidgetKit
|
||||
/// code the widget extension renders) at small + medium sizes. Used for App
|
||||
/// Store screenshot captures; not reachable from the UI.
|
||||
struct WidgetMockScreen: View {
|
||||
@Environment(\.colorScheme) private var colorScheme
|
||||
|
||||
var body: some View {
|
||||
ZStack {
|
||||
// Real iPhone wallpaper (extracted from the iOS 26.3 sim runtime —
|
||||
@@ -16,9 +18,11 @@ struct WidgetMockScreen: View {
|
||||
.ignoresSafeArea()
|
||||
|
||||
VStack(alignment: .leading, spacing: 26) {
|
||||
// App icon + name, home-screen style
|
||||
// App icon + name, home-screen style. Uses the SAME artwork
|
||||
// the app ships (AppIcon.appiconset), with the dark variant
|
||||
// when the device is in dark mode — matching iOS behaviour.
|
||||
HStack(spacing: 16) {
|
||||
Image("AppIconPreview")
|
||||
Image(colorScheme == .dark ? "AppIconPreviewDark" : "AppIconPreview")
|
||||
.resizable()
|
||||
.frame(width: 76, height: 76)
|
||||
.clipShape(RoundedRectangle(cornerRadius: 17, style: .continuous))
|
||||
|
||||
@@ -1 +1 @@
|
||||
1786808620.023363: Module build session file for module cache at Path(_str: "/Users/apt/workspace/fuelboard/build-pm/ModuleCache.noindex")
|
||||
1786809003.889817: Module build session file for module cache at Path(_str: "/Users/apt/workspace/fuelboard/build-pm/ModuleCache.noindex")
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>LastAccessedDate</key>
|
||||
<date>2026-08-15T15:43:37Z</date>
|
||||
<date>2026-08-15T15:50:03Z</date>
|
||||
<key>WorkspacePath</key>
|
||||
<string>/Users/apt/workspace/fuelboard/FuelBoard.xcodeproj</string>
|
||||
</dict>
|
||||
|
||||