Minor fixes

This commit is contained in:
世界
2026-01-03 00:55:17 +08:00
parent 52db9bbb39
commit 64e2ece819
7 changed files with 65 additions and 27 deletions
+8 -5
View File
@@ -271,13 +271,16 @@ private struct LogContentInnerView: View {
@ViewBuilder
private var emptyContent: some View {
if dataModel.isConnected {
Text("Empty logs")
} else {
Text("Service not started").onAppear {
environments.connect()
Group {
if dataModel.isConnected {
Text("Empty logs")
} else {
Text("Service not started").onAppear {
environments.connect()
}
}
}
.frame(maxWidth: .infinity, maxHeight: .infinity)
}
private var logScrollView: some View {