diff --git a/Outpost/Assets.xcassets/AppLogo.imageset/Contents.json b/Outpost/Assets.xcassets/AppLogo.imageset/Contents.json new file mode 100644 index 0000000..69a9f98 --- /dev/null +++ b/Outpost/Assets.xcassets/AppLogo.imageset/Contents.json @@ -0,0 +1,21 @@ +{ + "images" : [ + { + "filename" : "outpost-ios-1024.png", + "idiom" : "universal", + "scale" : "1x" + }, + { + "idiom" : "universal", + "scale" : "2x" + }, + { + "idiom" : "universal", + "scale" : "3x" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/Outpost/Assets.xcassets/AppLogo.imageset/outpost-ios-1024.png b/Outpost/Assets.xcassets/AppLogo.imageset/outpost-ios-1024.png new file mode 100644 index 0000000..fea8615 Binary files /dev/null and b/Outpost/Assets.xcassets/AppLogo.imageset/outpost-ios-1024.png differ diff --git a/Outpost/Features/Auth/AuthHeaderView.swift b/Outpost/Features/Auth/AuthHeaderView.swift index 9c61b6e..e57ae36 100644 --- a/Outpost/Features/Auth/AuthHeaderView.swift +++ b/Outpost/Features/Auth/AuthHeaderView.swift @@ -3,10 +3,12 @@ import SwiftUI struct AuthHeaderView: View { var body: some View { VStack(spacing: 12) { - // Renders whichever platform variant AppIcon.appiconset has for - // the current destination — same asset Xcode uses for the - // Dock/Home Screen icon, so this can't drift from it separately. - Image("AppIcon") + // A plain Image Set, not the AppIcon *app icon* asset — App Icon + // sets aren't reliably resolvable through Image(_:)/UIImage + // (named:) at runtime (confirmed live: showed nothing). This is + // the same source artwork (outpost-ios-1024.png) duplicated + // into a normal image set so SwiftUI can actually load it. + Image("AppLogo") .resizable() .scaledToFit() .frame(width: 72, height: 72)