mirror of
https://github.com/morgan9e/macos-stats
synced 2026-04-14 00:04:15 +09:00
- rename Network widget to Speed
This commit is contained in:
@@ -62,6 +62,11 @@
|
||||
<string>51383185408,198466408448</string>
|
||||
</dict>
|
||||
</dict>
|
||||
<key>speed</key>
|
||||
<dict>
|
||||
<key>Default</key>
|
||||
<false/>
|
||||
</dict>
|
||||
</dict>
|
||||
</dict>
|
||||
</plist>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<true/>
|
||||
<key>Widgets</key>
|
||||
<dict>
|
||||
<key>network</key>
|
||||
<key>speed</key>
|
||||
<dict>
|
||||
<key>Default</key>
|
||||
<true/>
|
||||
|
||||
@@ -129,7 +129,7 @@ public class Network: Module {
|
||||
}
|
||||
|
||||
self.popupView.usageCallback(value!)
|
||||
if let widget = self.widget as? NetworkWidget {
|
||||
if let widget = self.widget as? SpeedWidget {
|
||||
widget.setValue(upload: value!.upload, download: value!.download)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user