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": {
"traffic": "مصرف لحظه‌ای",
"trafficTotal": "مصرف کل",
"uplink": "🔺",
"downlink": "🔻"
"uplink": "",
"downlink": ""
}
},
"profile": {

View File

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