修复:大量的ScreenUtil误用,导致界面可能出现问题
(cherry picked from commit 2829da5267a14a9e0f43ff56060a68f1f8b2ca6a)
This commit is contained in:
@@ -158,7 +158,7 @@ class KRInviteController extends GetxController {
|
||||
borderRadius: BorderRadius.circular(16.r),
|
||||
),
|
||||
child: Container(
|
||||
padding: EdgeInsets.symmetric(horizontal: 20.w, vertical: 24.w),
|
||||
padding: EdgeInsets.symmetric(horizontal: 20.w, vertical: 24.h),
|
||||
child: Column(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
@@ -170,7 +170,7 @@ class KRInviteController extends GetxController {
|
||||
color: Theme.of(Get.context!).textTheme.titleMedium?.color,
|
||||
),
|
||||
),
|
||||
SizedBox(height: 16.w),
|
||||
SizedBox(height: 16.h),
|
||||
Container(
|
||||
padding: EdgeInsets.all(16.w),
|
||||
decoration: BoxDecoration(
|
||||
@@ -195,7 +195,7 @@ class KRInviteController extends GetxController {
|
||||
foregroundColor: Colors.black,
|
||||
),
|
||||
),
|
||||
SizedBox(height: 20.w),
|
||||
SizedBox(height: 20.h),
|
||||
Container(
|
||||
width: double.infinity,
|
||||
height: 44.w,
|
||||
|
||||
Reference in New Issue
Block a user