From e6aced4cb4bde7370b4431e238161763d75df990 Mon Sep 17 00:00:00 2001 From: jack Date: Sat, 5 Jul 2025 18:47:46 +0200 Subject: [PATCH] Remove debug section from macOS app info screen --- bitchat/Views/AppInfoView.swift | 23 ----------------------- 1 file changed, 23 deletions(-) diff --git a/bitchat/Views/AppInfoView.swift b/bitchat/Views/AppInfoView.swift index a2d1e7f6..d7524f2d 100644 --- a/bitchat/Views/AppInfoView.swift +++ b/bitchat/Views/AppInfoView.swift @@ -120,29 +120,6 @@ struct AppInfoView: View { .foregroundColor(textColor) } - // Debug Info - VStack(alignment: .leading, spacing: 16) { - SectionHeader("Debug") - - VStack(alignment: .leading, spacing: 8) { - Text("Log Location:") - .font(.system(size: 14, weight: .semibold, design: .monospaced)) - .foregroundColor(textColor) - - Text(LoggingService.shared.getLogFileURL().path) - .font(.system(size: 12, design: .monospaced)) - .foregroundColor(secondaryTextColor) - .textSelection(.enabled) - - Button("Open in Finder") { - NSWorkspace.shared.selectFile(LoggingService.shared.getLogFileURL().path, inFileViewerRootedAtPath: "") - } - .buttonStyle(.plain) - .foregroundColor(.blue) - .font(.system(size: 12, design: .monospaced)) - } - } - // Version HStack { Spacer()