diff --git a/PaimonMenuBar.xcodeproj/project.pbxproj b/PaimonMenuBar.xcodeproj/project.pbxproj index b4af58b..ba06f0a 100644 --- a/PaimonMenuBar.xcodeproj/project.pbxproj +++ b/PaimonMenuBar.xcodeproj/project.pbxproj @@ -365,7 +365,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 120; + CURRENT_PROJECT_VERSION = 121; DEVELOPMENT_ASSET_PATHS = "\"PaimonMenuBar/Preview Content\""; DEVELOPMENT_TEAM = W2HGAU9MPP; ENABLE_HARDENED_RUNTIME = YES; @@ -379,7 +379,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.9; + MARKETING_VERSION = 1.10; PRODUCT_BUNDLE_IDENTIFIER = spencerwoo.PaimonMenuBar; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; @@ -397,7 +397,7 @@ CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; - CURRENT_PROJECT_VERSION = 120; + CURRENT_PROJECT_VERSION = 121; DEVELOPMENT_ASSET_PATHS = "\"PaimonMenuBar/Preview Content\""; DEVELOPMENT_TEAM = W2HGAU9MPP; ENABLE_HARDENED_RUNTIME = YES; @@ -411,7 +411,7 @@ "@executable_path/../Frameworks", ); MACOSX_DEPLOYMENT_TARGET = 11.0; - MARKETING_VERSION = 1.9; + MARKETING_VERSION = 1.10; PRODUCT_BUNDLE_IDENTIFIER = spencerwoo.PaimonMenuBar; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_EMIT_LOC_STRINGS = YES; diff --git a/PaimonMenuBar/SettingsView.swift b/PaimonMenuBar/SettingsView.swift index de56d88..d3398a5 100644 --- a/PaimonMenuBar/SettingsView.swift +++ b/PaimonMenuBar/SettingsView.swift @@ -143,11 +143,14 @@ struct ConfigurationSettingsView: View { .frame(maxWidth: .infinity, alignment: .leading) TextEditor(text: $cookie) .font(.system(.body, design: .monospaced)) - .frame(height: 120) + .frame(height: 120).cornerRadius(6) + .background(Color.black.cornerRadius(6).shadow(radius: 0.5, y: 0.8).opacity(0.6)) Spacer() HStack { + Label("This cookie is only stored locally.", systemImage: "exclamationmark.circle") + .font(.caption).opacity(0.6) Spacer() Button { GameRecordUpdater.shared.clearGameRecord() diff --git a/PaimonMenuBar/zh-Hans.lproj/Localizable.strings b/PaimonMenuBar/zh-Hans.lproj/Localizable.strings index a1b9b6f..464d7c3 100644 --- a/PaimonMenuBar/zh-Hans.lproj/Localizable.strings +++ b/PaimonMenuBar/zh-Hans.lproj/Localizable.strings @@ -111,3 +111,5 @@ "⚠️ Data fetch failed, check your configuration" = "⚠️ 数据获取失败,检查你的配置信息"; "⚠️ Notification unauthorized." = "⚠️ 没有推送通知权限。"; + +"This cookie is only stored locally." = "Cookie 仅保存于本地。";