Tools View & Crash Report & OOM Report

This commit is contained in:
世界
2026-04-23 08:12:52 +08:00
parent 73180f0230
commit b48f4ad97f
46 changed files with 4279 additions and 533 deletions
+7 -1
View File
@@ -28,7 +28,13 @@ struct MainView: View {
.focusSection()
}
.tag(page)
.tabItem { page.label }
.tabItem {
if page == .tools, environments.totalUnreadReportCount > 0 {
Label("\(page.title) (\(environments.totalUnreadReportCount))", systemImage: "terminal.fill")
} else {
page.label
}
}
}
}
.onAppear {