From 871edf2eafb25ef1585ef8274a4affdab8a9d3f1 Mon Sep 17 00:00:00 2001 From: Garth Vander Houwen Date: Thu, 6 Jun 2024 09:09:01 -0700 Subject: [PATCH] Log details sheet cleanup --- Meshtastic/Views/Helpers/LogDetail.swift | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Meshtastic/Views/Helpers/LogDetail.swift b/Meshtastic/Views/Helpers/LogDetail.swift index 570ac52b..45f81017 100644 --- a/Meshtastic/Views/Helpers/LogDetail.swift +++ b/Meshtastic/Views/Helpers/LogDetail.swift @@ -40,6 +40,7 @@ struct LogDetail: View { .frame(width: 35) } .padding(.bottom, 5) + .listRowSeparator(.visible) /// Subsystem Label { Text("subsystem".localized + ":") @@ -53,6 +54,7 @@ struct LogDetail: View { .frame(width: 35) } .padding(.bottom, 5) + .listRowSeparator(.visible) /// Process Label { Text("process".localized + ":") @@ -66,6 +68,7 @@ struct LogDetail: View { .frame(width: 35) } .padding(.bottom, 5) + .listRowSeparator(.visible) /// Category Label { Text("category".localized + ":") @@ -79,6 +82,7 @@ struct LogDetail: View { .frame(width: 35) } .padding(.bottom, 5) + .listRowSeparator(.visible) /// Level Label { Text("level".localized + ":") @@ -92,19 +96,22 @@ struct LogDetail: View { .frame(width: 35) } .padding(.bottom, 5) + .listRowSeparator(.visible) /// message Label { Text("message".localized + ":") .font(idiom == .phone ? .callout : .title) - Text(log.composedMessage) - .font(idiom == .phone ? .callout : .title) + } icon: { Image(systemName: "text.bubble") .symbolRenderingMode(.hierarchical) .font(idiom == .phone ? .callout : .title) .frame(width: 35) } - .padding(.bottom, 5) + .listRowSeparator(.hidden) + Text(log.composedMessage) + .font(idiom == .phone ? .callout : .title) + .padding(.bottom, 5) } .listStyle(.plain) }