Skip to content

Commit ba29725

Browse files
committed
fix: init menu text spacing
1 parent 4239aee commit ba29725

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

NetSpeedMonitor/MenuBarState.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class MenuBarState: ObservableObject {
3030
@AppStorage("NetSpeedUpdateInterval") var netSpeedUpdateInterval: NetSpeedUpdateInterval = .Sec1 {
3131
didSet { updateNetSpeedUpdateIntervalStatus() }
3232
}
33-
@Published var menuText = "\(String(format: "%6.2lf", 0)) \("B")/s\n\(String(format: "%6.2lf", 0)) \("B")/s"
33+
@Published var menuText = "\(String(format: "%6.2lf", 0)) \(" B")/s\n\(String(format: "%6.2lf", 0)) \(" B")/s"
3434

3535
var currentIcon: NSImage {
3636
return MenuBarIconGenerator.generateIcon(text: menuText)

0 commit comments

Comments
 (0)