mirror of
https://github.com/neon443/ShhShell.git
synced 2026-03-11 21:36:17 +00:00
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:
22
ShhShell/Views/About/AboutView.swift
Normal file
22
ShhShell/Views/About/AboutView.swift
Normal 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()
|
||||
}
|
||||
Reference in New Issue
Block a user