1
0
mirror of https://github.com/nicoverbruggen/phpmon.git synced 2025-08-07 03:50:08 +02:00

🐛 Fix bug related to "?" not showing up

This commit is contained in:
2023-01-19 17:50:13 +01:00
parent 2fa50a7dc4
commit d3b1afe9fd
3 changed files with 15 additions and 6 deletions

View File

@ -2799,7 +2799,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1026;
CURRENT_PROJECT_VERSION = 1027;
DEAD_CODE_STRIPPING = YES;
DEBUG = YES;
DEVELOPMENT_TEAM = 8M54J5J787;
@ -2828,7 +2828,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1026;
CURRENT_PROJECT_VERSION = 1027;
DEAD_CODE_STRIPPING = YES;
DEBUG = NO;
DEVELOPMENT_TEAM = 8M54J5J787;
@ -3056,7 +3056,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1026;
CURRENT_PROJECT_VERSION = 1027;
DEBUG = NO;
DEVELOPMENT_TEAM = 8M54J5J787;
ENABLE_HARDENED_RUNTIME = YES;
@ -3166,7 +3166,7 @@
CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic;
COMBINE_HIDPI_IMAGES = YES;
CURRENT_PROJECT_VERSION = 1026;
CURRENT_PROJECT_VERSION = 1027;
DEBUG = YES;
DEVELOPMENT_TEAM = 8M54J5J787;
ENABLE_HARDENED_RUNTIME = YES;

View File

@ -14,8 +14,17 @@ struct HelpButton: View {
var body: some View {
Button(action: action, label: {
Text("?").font(.system(size: 12, weight: .medium))
ZStack {
Circle()
.strokeBorder(Color(NSColor.separatorColor), lineWidth: 0.5)
.background(Circle().foregroundColor(Color(NSColor.controlColor)).opacity(0.7))
.shadow(color: Color(NSColor.separatorColor).opacity(0.3), radius: 1)
.frame(width: 14, height: 14)
Text("?").font(.system(size: 12, weight: .medium))
.foregroundColor(Color(NSColor.labelColor))
}
})
.buttonStyle(BorderlessButtonStyle())
.focusable(false)
}

View File

@ -74,7 +74,7 @@ struct ServicesView: View {
.foregroundColor(self.manager.statusColor)
Text(self.manager.statusMessage)
.font(.system(size: 11))
if self.manager.statusColor == .red {
if self.manager.statusColor == Color("StatusColorRed") {
HelpButton {
let type = manager.hasError
? "key_service_has_error"