修复:大量的ScreenUtil误用,导致界面可能出现问题

(cherry picked from commit 2829da5267a14a9e0f43ff56060a68f1f8b2ca6a)
This commit is contained in:
2025-11-01 04:32:01 -07:00
committed by speakeloudest
parent 18ec3e36fc
commit b7a78aa76a
13 changed files with 79 additions and 79 deletions
@@ -152,7 +152,7 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
),
],
),
SizedBox(height: 8.w),
SizedBox(height: 8.h),
Text(
value,
style: KrAppTextStyle(
@@ -188,9 +188,9 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
),
),
),
SizedBox(height: 16.w),
SizedBox(height: 16.h),
SizedBox(
height: 200.w,
height: 200.h,
child: Obx(() => LineChart(
LineChartData(
gridData: FlGridData(show: false),
@@ -297,7 +297,7 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
),
],
),
SizedBox(height: 16.w),
SizedBox(height: 16.h),
Obx(() => _kr_buildLongestConnection(context)),
],
),
@@ -322,7 +322,7 @@ class KRStatisticsView extends GetView<KRStatisticsController> {
color: Theme.of(context).textTheme.bodySmall?.color,
),
),
SizedBox(height: 8.w),
SizedBox(height: 8.h),
Text(
value,
style: KrAppTextStyle(