summaryrefslogtreecommitdiff
path: root/Hutch/Views/Inbox/InboxView.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-19 16:59:16 -0500
committerChristian Cleberg <[email protected]>2026-03-19 16:59:16 -0500
commitb82bbeeea48ad27832a355c2a41408559c411104 (patch)
tree0af45101300c75970471573b09f878a1b3763b38 /Hutch/Views/Inbox/InboxView.swift
parent9065ef6e92245a44390e336cc1ae515ae706cdd7 (diff)
downloadhutch-b82bbeeea48ad27832a355c2a41408559c411104.tar.gz
hutch-b82bbeeea48ad27832a355c2a41408559c411104.tar.bz2
hutch-b82bbeeea48ad27832a355c2a41408559c411104.zip
v2.1: bundled polish and fixes
Diffstat (limited to 'Hutch/Views/Inbox/InboxView.swift')
-rw-r--r--Hutch/Views/Inbox/InboxView.swift15
1 files changed, 0 insertions, 15 deletions
diff --git a/Hutch/Views/Inbox/InboxView.swift b/Hutch/Views/Inbox/InboxView.swift
index 2b92738..74f78d5 100644
--- a/Hutch/Views/Inbox/InboxView.swift
+++ b/Hutch/Views/Inbox/InboxView.swift
@@ -1,7 +1,4 @@
import SwiftUI
-import os
-
-private let inboxNavigationLogger = Logger(subsystem: "net.cleberg.Hutch", category: "InboxNavigation")
struct InboxView: View {
@Environment(AppState.self) private var appState
@@ -101,9 +98,6 @@ struct InboxView: View {
systemImage: "tray",
description: Text("This thread could not be restored.")
)
- .onAppear {
- inboxNavigationLogger.error("Inbox navigation destination missing thread snapshot")
- }
}
}
}
@@ -123,9 +117,6 @@ struct InboxView: View {
private func selectThread(_ thread: InboxThreadSummary) {
cacheSelectedThread(thread)
isShowingThreadDetail = true
- inboxNavigationLogger.debug(
- "Inbox navigation triggered: threadID=\(thread.id, privacy: .public) subject=\(thread.subject, privacy: .public)"
- )
}
private func cacheSelectedThread(_ thread: InboxThreadSummary) {
@@ -140,9 +131,6 @@ struct InboxView: View {
private func handleThreadDetailDisappear(for threadID: String) {
let isActiveSelection = selectedThreadID == threadID
- inboxNavigationLogger.debug(
- "Inbox thread detail disappeared: threadID=\(threadID, privacy: .public) activeSelection=\(isActiveSelection, privacy: .public)"
- )
guard isActiveSelection else { return }
clearSelection()
}
@@ -154,9 +142,6 @@ struct InboxView: View {
}
private func clearSelection() {
- if let selectedThreadID {
- inboxNavigationLogger.debug("Inbox selection cleared: threadID=\(selectedThreadID, privacy: .public)")
- }
selectedThreadID = nil
selectedThreadSnapshot = nil
isShowingThreadDetail = false