From 977871828b8bfbf81bec9431c99b296764015635 Mon Sep 17 00:00:00 2001 From: JJTech0130 Date: Tue, 26 Mar 2024 22:16:52 -0400 Subject: [PATCH] fix color log --- ValidationRelay.xcodeproj/project.pbxproj | 4 ++-- ValidationRelay/LogView.swift | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ValidationRelay.xcodeproj/project.pbxproj b/ValidationRelay.xcodeproj/project.pbxproj index 3e50379..d7e13f9 100644 --- a/ValidationRelay.xcodeproj/project.pbxproj +++ b/ValidationRelay.xcodeproj/project.pbxproj @@ -341,7 +341,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.2; + MARKETING_VERSION = 1.3; PRODUCT_BUNDLE_IDENTIFIER = dev.jjtech.experiments.ValidationRelay; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; @@ -378,7 +378,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 1.2; + MARKETING_VERSION = 1.3; PRODUCT_BUNDLE_IDENTIFIER = dev.jjtech.experiments.ValidationRelay; PRODUCT_NAME = "$(TARGET_NAME)"; SUPPORTED_PLATFORMS = "iphoneos iphonesimulator"; diff --git a/ValidationRelay/LogView.swift b/ValidationRelay/LogView.swift index 808cc86..1689885 100644 --- a/ValidationRelay/LogView.swift +++ b/ValidationRelay/LogView.swift @@ -31,7 +31,7 @@ struct LogView: View { ForEach(logItems.items, id: \.self) { item in HStack { Text(item.message) - .foregroundColor(item.isError ? .red : .black) + .foregroundColor(item.isError ? .red : .primary) Spacer() Text(item.date, style: .time) .font(.caption)