Minor fixes

This commit is contained in:
世界
2026-04-23 08:12:53 +08:00
parent dd5bb31c3f
commit 7a57cfeb88
4 changed files with 255 additions and 9 deletions
@@ -77,7 +77,7 @@ public struct CrashReportListView: View {
CrashTriggerView()
}
.toolbar {
if SharedPreferences.inDebug {
if Variant.inDebug {
ToolbarItem(placement: .confirmationAction) {
Button {
showCrashTrigger = true
@@ -101,9 +101,9 @@ public struct CrashReportListView: View {
}
#else
.toolbar {
if !manager.reports.isEmpty || SharedPreferences.inDebug {
if !manager.reports.isEmpty || Variant.inDebug {
Menu {
if SharedPreferences.inDebug {
if Variant.inDebug {
Menu {
Menu("Application") {
Button("Go Crash") {