mirror of
https://github.com/tw93/Mole.git
synced 2026-02-14 17:37:26 +00:00
chore: auto format code
This commit is contained in:
@@ -149,6 +149,7 @@ type NetworkStatus struct {
|
|||||||
TxRateMBs float64
|
TxRateMBs float64
|
||||||
IP string
|
IP string
|
||||||
}
|
}
|
||||||
|
|
||||||
// NetworkHistory holds the global network usage history.
|
// NetworkHistory holds the global network usage history.
|
||||||
type NetworkHistory struct {
|
type NetworkHistory struct {
|
||||||
RxHistory []float64
|
RxHistory []float64
|
||||||
|
|||||||
@@ -201,8 +201,6 @@ func getScoreStyle(score int) lipgloss.Style {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
func hasSensorData(sensors []SensorReading) bool {
|
func hasSensorData(sensors []SensorReading) bool {
|
||||||
for _, s := range sensors {
|
for _, s := range sensors {
|
||||||
if s.Note == "" && s.Value > 0 {
|
if s.Note == "" && s.Value > 0 {
|
||||||
|
|||||||
@@ -389,7 +389,6 @@ batch_uninstall_applications() {
|
|||||||
local has_system_files="false"
|
local has_system_files="false"
|
||||||
[[ -n "$system_files" ]] && has_system_files="true"
|
[[ -n "$system_files" ]] && has_system_files="true"
|
||||||
|
|
||||||
|
|
||||||
stop_launch_services "$bundle_id" "$has_system_files"
|
stop_launch_services "$bundle_id" "$has_system_files"
|
||||||
|
|
||||||
# Remove from Login Items
|
# Remove from Login Items
|
||||||
|
|||||||
Reference in New Issue
Block a user