Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
shadow text editor and add cookie local tip
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerwooo committed Aug 11, 2022
1 parent a82e936 commit 54bc867
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
8 changes: 4 additions & 4 deletions PaimonMenuBar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand Down
5 changes: 4 additions & 1 deletion PaimonMenuBar/SettingsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 2 additions & 0 deletions PaimonMenuBar/zh-Hans.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,5 @@
"⚠️ Data fetch failed, check your configuration" = "⚠️ 数据获取失败,检查你的配置信息";

"⚠️ Notification unauthorized." = "⚠️ 没有推送通知权限。";

"This cookie is only stored locally." = "Cookie 仅保存于本地。";

0 comments on commit 54bc867

Please sign in to comment.