TF-1468: Check condition when selected email to build FloatingButtonCompose
This commit is contained in:
@@ -182,7 +182,11 @@ class ThreadView extends GetWidget<ThreadController>
|
|||||||
|
|
||||||
return Obx(() {
|
return Obx(() {
|
||||||
if (controller.isAllSearchInActive) {
|
if (controller.isAllSearchInActive) {
|
||||||
return Align(
|
return Container(
|
||||||
|
padding: BuildUtils.isWeb
|
||||||
|
? EdgeInsets.zero
|
||||||
|
: controller.listEmailSelected.isNotEmpty ? const EdgeInsets.only(bottom: 70) : EdgeInsets.zero,
|
||||||
|
child: Align(
|
||||||
alignment: Alignment.bottomRight,
|
alignment: Alignment.bottomRight,
|
||||||
child: ScrollingFloatingButtonAnimated(
|
child: ScrollingFloatingButtonAnimated(
|
||||||
icon: SvgPicture.asset(_imagePaths.icCompose, width: 20, height: 20, fit: BoxFit.fill),
|
icon: SvgPicture.asset(_imagePaths.icCompose, width: 20, height: 20, fit: BoxFit.fill),
|
||||||
@@ -202,6 +206,7 @@ class ThreadView extends GetWidget<ThreadController>
|
|||||||
width: 140,
|
width: 140,
|
||||||
animateIcon: false
|
animateIcon: false
|
||||||
)
|
)
|
||||||
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const SizedBox.shrink();
|
return const SizedBox.shrink();
|
||||||
|
|||||||
Reference in New Issue
Block a user