diff --git a/GiteaPR.xcodeproj/project.pbxproj b/GiteaPR.xcodeproj/project.pbxproj index 89349bc..fdacf7b 100644 --- a/GiteaPR.xcodeproj/project.pbxproj +++ b/GiteaPR.xcodeproj/project.pbxproj @@ -187,7 +187,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 15; + CURRENT_PROJECT_VERSION = 16; DEVELOPMENT_TEAM = ""; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_CFBundleDisplayName = "GiteaPR"; @@ -197,7 +197,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.4; + MARKETING_VERSION = 2.5; PRODUCT_BUNDLE_IDENTIFIER = com.bueso.giteapr; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -211,7 +211,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 15; + CURRENT_PROJECT_VERSION = 16; DEVELOPMENT_TEAM = ""; GENERATE_INFOPLIST_FILE = YES; INFOPLIST_KEY_CFBundleDisplayName = "GiteaPR"; @@ -221,7 +221,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 2.4; + MARKETING_VERSION = 2.5; PRODUCT_BUNDLE_IDENTIFIER = com.bueso.giteapr; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/GiteaPR/Detail/PRDetailView.swift b/GiteaPR/Detail/PRDetailView.swift index a940790..e26aacf 100644 --- a/GiteaPR/Detail/PRDetailView.swift +++ b/GiteaPR/Detail/PRDetailView.swift @@ -130,18 +130,18 @@ struct PRDetailView: View { .background(Color(.secondarySystemBackground)) } - /// Bottom tab bar: icon-only navigation between the PR's sections, in a - /// compact floating capsule style matching Apple's standard tab bar - /// height (Apple Music etc.), not a tall bar. + /// Bottom tab bar: full-width frosted-glass bar at the standard iOS tab + /// bar height, sitting flush above the home indicator — matching Apple + /// Music's tab bar (not a floating capsule with space below it). private var bottomTabBar: some View { HStack { ForEach(DetailTab.allCases) { tab in Button { selectedTab = tab } label: { - VStack(spacing: 1) { + VStack(spacing: 2) { Image(systemName: tab.icon) - .font(.system(size: 18)) + .font(.system(size: 22)) Text(tab.rawValue) .font(.caption2) } @@ -150,15 +150,9 @@ struct PRDetailView: View { } } } - .padding(.vertical, 4) - .padding(.horizontal, 6) - .background( - Capsule() - .fill(.regularMaterial) - .shadow(color: .black.opacity(0.12), radius: 6, y: 1) - ) - .padding(.horizontal, 16) + .padding(.top, 8) .padding(.bottom, 4) + .background(.bar) } private var reviewMenu: some View { diff --git a/GiteaPR/Views/InboxView.swift b/GiteaPR/Views/InboxView.swift index 49f3ebb..78b75cd 100644 --- a/GiteaPR/Views/InboxView.swift +++ b/GiteaPR/Views/InboxView.swift @@ -38,6 +38,7 @@ struct InboxView: View { } } .navigationTitle("Pull Requests") + .navigationBarTitleDisplayMode(.large) .toolbar { ToolbarItem(placement: .primaryAction) { settingsButton } }