Split background menu

This commit is contained in:
世界 committed 2023-07-20 06:44:39 +08:00
1 parent 7a616bbe15
commit fdbf50d875
6 files changed
+43 -9

No files matched your search

@@ -28,15 +28,10 @@ public struct ExtensionStatusView: View {
StatusItem("Downlink", LibboxFormatBytes(message.downlink) + "/s")
StatusItem("Uplink Total", LibboxFormatBytes(message.uplinkTotal))
StatusItem("Downlink Total", LibboxFormatBytes(message.downlinkTotal))
} else {
#if os(macOS)
StatusItem("Connections", "\(message.connectionsOut)")
#endif
}
} else {
StatusItem("Memory", "Loading...")
StatusItem("Goroutines", "Loading...")
StatusItem("Connections", "Loading...")
}
}.background {
GeometryReader { geometry in