mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-29 16:02:51 -05:00
added a network speed monitor widget
This commit is contained in:
@@ -335,6 +335,8 @@ PanelWindow {
|
||||
return true
|
||||
case "separator":
|
||||
return true
|
||||
case "network_speed_monitor":
|
||||
return DgopService.dgopAvailable
|
||||
default:
|
||||
return false
|
||||
}
|
||||
@@ -382,6 +384,8 @@ PanelWindow {
|
||||
return spacerComponent
|
||||
case "separator":
|
||||
return separatorComponent
|
||||
case "network_speed_monitor":
|
||||
return networkComponent
|
||||
default:
|
||||
return null
|
||||
}
|
||||
@@ -945,6 +949,12 @@ PanelWindow {
|
||||
}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: networkComponent
|
||||
|
||||
NetworkMonitor {}
|
||||
}
|
||||
|
||||
Component {
|
||||
id: notificationButtonComponent
|
||||
|
||||
|
||||
Reference in New Issue
Block a user