From a0b1fb8aa32642b8eb87bfc2306b00862e8c9364 Mon Sep 17 00:00:00 2001 From: tigerenwork Date: Fri, 10 Jul 2026 02:07:43 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8D=87=E7=BA=A7=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E8=87=B3=201.4=20=E5=B9=B6=E5=B0=86=E6=A0=A1=E5=87=86=E8=AE=BE?= =?UTF-8?q?=E7=BD=AE=E7=A7=BB=E8=87=B3=E7=8B=AC=E7=AB=8B=20Section?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Bugger.xcodeproj/project.pbxproj | 4 ++-- Resources/Info.plist | 2 +- Sources/Views/Settings/SettingsView.swift | 20 +++++++++----------- 3 files changed, 12 insertions(+), 14 deletions(-) diff --git a/Bugger.xcodeproj/project.pbxproj b/Bugger.xcodeproj/project.pbxproj index 29c6c8b..fbb799a 100644 --- a/Bugger.xcodeproj/project.pbxproj +++ b/Bugger.xcodeproj/project.pbxproj @@ -372,7 +372,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.3; + MARKETING_VERSION = 1.4; PRODUCT_BUNDLE_IDENTIFIER = com.xorbitlab.bugger; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -396,7 +396,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 14.0; - MARKETING_VERSION = 1.3; + MARKETING_VERSION = 1.4; PRODUCT_BUNDLE_IDENTIFIER = com.xorbitlab.bugger; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/Resources/Info.plist b/Resources/Info.plist index 34047f0..69169b1 100644 --- a/Resources/Info.plist +++ b/Resources/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 1.3 + 1.4 CFBundleVersion 4 LSMinimumSystemVersion diff --git a/Sources/Views/Settings/SettingsView.swift b/Sources/Views/Settings/SettingsView.swift index a25a834..33a0d06 100644 --- a/Sources/Views/Settings/SettingsView.swift +++ b/Sources/Views/Settings/SettingsView.swift @@ -125,6 +125,14 @@ struct SettingsView: View { } } + Section("Calibration") { + Toggle("Enable calibration check", isOn: $config.calibrationEnabled) + Text("Periodically verifies with the notification server that all your assigned bugs are in sync. Helps recover missed push notifications. Only works when a Subscribe base URL is set.") + .font(.caption) + .foregroundStyle(.secondary) + .fixedSize(horizontal: false, vertical: true) + } + Section("Display") { Toggle("Show floating widget", isOn: $config.showFloatingWidget) .onChange(of: config.showFloatingWidget) { _, enabled in @@ -139,16 +147,6 @@ struct SettingsView: View { Section { DisclosureGroup(isExpanded: $showAdvanced) { - VStack(alignment: .leading, spacing: 4) { - Toggle("Enable calibration check", isOn: $config.calibrationEnabled) - Text("Periodically verifies with the notification server that all your assigned bugs are in sync. Helps recover missed push notifications. Only works when a Subscribe base URL is set.") - .font(.caption) - .foregroundStyle(.secondary) - .fixedSize(horizontal: false, vertical: true) - } - - Divider() - Text("Field Mappings") .font(.caption) .fontWeight(.semibold) @@ -197,7 +195,7 @@ struct SettingsView: View { } // VStack .padding() } - .frame(minWidth: 500, idealWidth: 520, minHeight: 400, maxHeight: 800) + .frame(minWidth: 500, idealWidth: 520, minHeight: 400, maxHeight: 1200) } // MARK: - Status Mapping Row