Skip to content
This repository was archived by the owner on Mar 7, 2026. It is now read-only.

Commit af9591a

Browse files
authored
Minor bug fixes
1 parent 8a62a26 commit af9591a

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

Sources/prostore/prostore.swift

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,21 @@ struct MainTabView: View {
3232
var body: some View {
3333
TabView {
3434
NavigationView {
35-
AboutView()
35+
SignerView()
3636
}
37+
.navigationViewStyle(StackNavigationViewStyle())
3738
.tabItem {
38-
Image(systemName: "info.circle")
39-
Text("About")
39+
Image(systemName: "hammer")
40+
Text("Signer")
4041
}
4142

4243
NavigationView {
43-
SignerView()
44+
AboutView()
4445
}
46+
.navigationViewStyle(StackNavigationViewStyle())
4547
.tabItem {
46-
Image(systemName: "hammer")
47-
Text("Signer")
48+
Image(systemName: "info.circle")
49+
Text("About")
4850
}
4951
}
5052
}
@@ -78,10 +80,9 @@ struct AboutView: View {
7880
URL(string: "https://raw.githubusercontent.com/ProStore-iOS/ProStore/main/Sources/prostore/Assets.xcassets/AppIcon.appiconset/Icon-1024.png")
7981
}
8082

83+
// Only show the short version string (e.g. "1.1.0") to avoid trailing build numbers like "(6)"
8184
private var versionString: String {
82-
let version = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "1.0"
83-
let build = Bundle.main.object(forInfoDictionaryKey: "CFBundleVersion") as? String ?? ""
84-
return build.isEmpty ? version : "\(version) (\(build))"
85+
Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String ?? "1.0"
8586
}
8687

8788
var body: some View {

project.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ targets:
3131
properties:
3232
CFBundleDisplayName: "ProStore"
3333
CFBundleName: "prostore"
34-
CFBundleVersion: "6"
35-
CFBundleShortVersionString: "1.1.0"
34+
CFBundleVersion: "7"
35+
CFBundleShortVersionString: "1.1.1"
3636
UILaunchStoryboardName: "LaunchScreen"
3737
NSPrincipalClass: "UIApplication"
3838
NSAppTransportSecurity:

0 commit comments

Comments
 (0)