tweak aboutView

This commit is contained in:
TrueZhuanjia committed 2025-07-24 20:32:58 +08:00
1 parent 2e7abf0eb2
commit 75e88ee31e
3 files changed
+6 -5

No files matched your search

+4 -3
View File
@@ -17,9 +17,10 @@ public struct AboutView: View {
VStack(spacing: 10) {
// App 图标
Image(uiImage: UIImage(named: "AppIconMedium") ?? UIImage())
.resizable()
.frame(width: 80, height: 80)
.clipShape(RoundedRectangle(cornerRadius: 36))
// .resizable()
.resizable(capInsets:EdgeInsets(top: 3.5, leading: 3.5, bottom: 3.5, trailing: 3.5))
.frame(width: 100, height: 100)
.clipShape(RoundedRectangle(cornerRadius: 28))
// App 名称
Text(Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String ?? "App Name")