TF-1468: Update the compose icon to display stably

This commit is contained in:
HuyNguyen
2023-02-22 08:56:59 +07:00
committed by Dat Vu
parent 16cb40cf5b
commit 43ef76b420
@@ -182,11 +182,7 @@ class ThreadView extends GetWidget<ThreadController>
return Obx(() {
if (controller.isAllSearchInActive) {
return Container(
padding: BuildUtils.isWeb
? EdgeInsets.zero
: controller.isSelectionEnabled() ? const EdgeInsets.only(bottom: 70) : EdgeInsets.zero,
child: Align(
return Align(
alignment: Alignment.bottomRight,
child: ScrollingFloatingButtonAnimated(
icon: SvgPicture.asset(_imagePaths.icCompose, width: 20, height: 20, fit: BoxFit.fill),
@@ -206,7 +202,6 @@ class ThreadView extends GetWidget<ThreadController>
width: 140,
animateIcon: false
)
)
);
} else {
return const SizedBox.shrink();