mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-14 15:24:00 -04:00
21 lines
599 B
QML
21 lines
599 B
QML
import QtQuick
|
|
import qs.Common
|
|
import qs.Services
|
|
import qs.Modules.DDash
|
|
import "../../../Common/Format.js" as Format
|
|
|
|
MetricCard {
|
|
entryId: "network"
|
|
dgopModules: ["network"]
|
|
label: I18n.tr("Network")
|
|
iconName: "download"
|
|
valueText: Format.formatRate(DgopService.networkRxRate || 0)
|
|
supportingText: NetworkService.primaryConnection
|
|
badgeText: Format.formatRate(DgopService.networkTxRate || 0)
|
|
badgeIcon: "upload"
|
|
trendMaximum: 0
|
|
showTrend: options.trend === true
|
|
trend: DgopService.networkHistory.rx
|
|
secondaryTrend: DgopService.networkHistory.tx
|
|
}
|