TF-1683 Fix height/color divider for correctly

(cherry picked from commit 25c772101eb693825413e6587961c3c56d0e5da2)
This commit is contained in:
dab246
2023-07-07 17:01:42 +07:00
committed by Dat H. Pham
parent 559f3d1e11
commit ad54e6e863
14 changed files with 23 additions and 46 deletions
@@ -50,10 +50,7 @@ class ThreadView extends GetWidget<ThreadController>
body: Portal(
child: Row(children: [
if (supportVerticalDivider(context))
const VerticalDivider(
color: AppColor.colorDividerVertical,
width: 1,
thickness: 0.2),
const VerticalDivider(color: AppColor.colorDividerVertical, width: 1),
Expanded(child: SafeArea(
right: _responsiveUtils.isLandscapeMobile(context),
left: _responsiveUtils.isLandscapeMobile(context),
@@ -135,10 +135,7 @@ class EmailTileBuilder with BaseEmailItemTile {
),
Padding(
padding: paddingDivider ?? const EdgeInsetsDirectional.symmetric(horizontal: 16),
child: const Divider(
color: AppColor.lineItemListColor,
height: 1,
thickness: 0.2)),
child: const Divider(color: AppColor.lineItemListColor, height: 1)),
],
),
);
@@ -202,11 +202,8 @@ class EmailTileBuilder with BaseEmailItemTile {
),
if (_selectModeAll == SelectMode.INACTIVE)
Transform(
transform: Matrix4.translationValues(0.0, 10.0, 0.0),
child: const Divider(
color: AppColor.lineItemListColor,
height: 1,
thickness: 0.2)),
transform: Matrix4.translationValues(0.0, 10.0, 0.0),
child: const Divider(color: AppColor.lineItemListColor, height: 1)),
],
);
}
@@ -289,10 +286,7 @@ class EmailTileBuilder with BaseEmailItemTile {
if (_selectModeAll == SelectMode.INACTIVE)
Transform(
transform: Matrix4.translationValues(0.0, 10.0, 0.0),
child: const Divider(
color: AppColor.lineItemListColor,
height: 1,
thickness: 0.2),
child: const Divider(color: AppColor.lineItemListColor, height: 1),
),
],
))
@@ -391,10 +385,7 @@ class EmailTileBuilder with BaseEmailItemTile {
transform: Matrix4.translationValues(0.0, 10, 0.0),
child: const Padding(
padding: EdgeInsetsDirectional.only(start: 120),
child: Divider(
color: AppColor.lineItemListColor,
height: 1,
thickness: 0.2)),
child: Divider(color: AppColor.lineItemListColor, height: 1)),
)
]),
);