update upload download link stats

This commit is contained in:
Hiddify
2023-09-10 12:09:42 +02:00
parent 6287b2e545
commit d5e65a5c41
2 changed files with 10 additions and 4 deletions

View File

@@ -22,8 +22,8 @@
"stats": { "stats": {
"traffic": "مصرف لحظه‌ای", "traffic": "مصرف لحظه‌ای",
"trafficTotal": "مصرف کل", "trafficTotal": "مصرف کل",
"uplink": "🔺", "uplink": "",
"downlink": "🔻" "downlink": ""
} }
}, },
"profile": { "profile": {

View File

@@ -80,9 +80,12 @@ class _StatCard extends HookConsumerWidget {
children: [ children: [
Text( Text(
firstStat.label, firstStat.label,
style: TextStyle(color: Colors.green),
),
Text(
firstStat.data,
style: theme.textTheme.bodySmall, style: theme.textTheme.bodySmall,
), ),
Text(firstStat.data),
], ],
), ),
Row( Row(
@@ -90,9 +93,12 @@ class _StatCard extends HookConsumerWidget {
children: [ children: [
Text( Text(
secondStat.label, secondStat.label,
style: TextStyle(color: Colors.red),
),
Text(
secondStat.data,
style: theme.textTheme.bodySmall, style: theme.textTheme.bodySmall,
), ),
Text(secondStat.data),
], ],
), ),
], ],