mirror of
https://github.com/tw93/Mole.git
synced 2026-02-07 18:34:21 +00:00
chore: auto format code
This commit is contained in:
@@ -149,6 +149,7 @@ type NetworkStatus struct {
|
||||
TxRateMBs float64
|
||||
IP string
|
||||
}
|
||||
|
||||
// NetworkHistory holds the global network usage history.
|
||||
type NetworkHistory struct {
|
||||
RxHistory []float64
|
||||
@@ -324,11 +325,11 @@ func (c *Collector) Collect() (MetricsSnapshot, error) {
|
||||
TxHistory: c.txHistoryBuf.Slice(),
|
||||
},
|
||||
Proxy: proxyStats,
|
||||
Batteries: batteryStats,
|
||||
Thermal: thermalStats,
|
||||
Sensors: sensorStats,
|
||||
Bluetooth: btStats,
|
||||
TopProcesses: topProcs,
|
||||
Batteries: batteryStats,
|
||||
Thermal: thermalStats,
|
||||
Sensors: sensorStats,
|
||||
Bluetooth: btStats,
|
||||
TopProcesses: topProcs,
|
||||
}, mergeErr
|
||||
}
|
||||
|
||||
|
||||
@@ -201,8 +201,6 @@ func getScoreStyle(score int) lipgloss.Style {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
func hasSensorData(sensors []SensorReading) bool {
|
||||
for _, s := range sensors {
|
||||
if s.Note == "" && s.Value > 0 {
|
||||
|
||||
Reference in New Issue
Block a user