From edd6aafbf4a0e3188b93b4b8310a486abc6ffbc0 Mon Sep 17 00:00:00 2001 From: blabla-yy Date: Thu, 2 Nov 2023 15:33:25 +0800 Subject: [PATCH] fix --- monitor/controller/NetworkBar.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitor/controller/NetworkBar.swift b/monitor/controller/NetworkBar.swift index 8396f51..4397657 100644 --- a/monitor/controller/NetworkBar.swift +++ b/monitor/controller/NetworkBar.swift @@ -38,7 +38,7 @@ class NetworkBar: NSObject, NSTableViewDataSource, NSTableViewDelegate { } private var maxSingleCellWidth: CGFloat { - return NSTextField(labelWithString: sample).intrinsicContentSize.width + return NSTextField(labelWithString: "999.99 MB/s ↑").intrinsicContentSize.width } lazy var networkMenuItem: NSStatusItem = {