added a basic about thingy

- added a Bundle.swift to manage getting info from the Bundle.main.infoDictionary
 - extended UIImage to show the app's icon via UIImage().appIcon
This commit is contained in:
neon443
2025-08-02 20:45:45 +01:00
parent 2290a5c275
commit 7850a3839a
4 changed files with 92 additions and 14 deletions

View File

@@ -0,0 +1,22 @@
//
// AboutView.swift
// ShhShell
//
// Created by neon443 on 02/08/2025.
//
import SwiftUI
struct AboutView: View {
var body: some View {
HStack {
UIImage().appIcon
Image(uiImage: UIImage(named: "AppIcon") ?? UIImage())
Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/)
}
}
}
#Preview {
AboutView()
}