chore: 升级版本至 1.4 并将校准设置移至独立 Section

This commit is contained in:
tigerenwork 2026-07-10 02:07:43 +08:00
parent be384c9238
commit a0b1fb8aa3
3 changed files with 12 additions and 14 deletions

View File

@ -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;

View File

@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.3</string>
<string>1.4</string>
<key>CFBundleVersion</key>
<string>4</string>
<key>LSMinimumSystemVersion</key>

View File

@ -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