TF-852 Fix scroll list recipient in forwarding

This commit is contained in:
dab246
2022-08-25 18:24:47 +07:00
committed by Dat H. Pham
parent cbf3605a16
commit 1f581c6e84
2 changed files with 30 additions and 30 deletions
@@ -22,6 +22,7 @@ class ForwardView extends GetWidget<ForwardController> with AppLoaderMixin {
body: Container( body: Container(
width: double.infinity, width: double.infinity,
margin: SettingsUtils.getMarginViewForSettingDetails(context, _responsiveUtils), margin: SettingsUtils.getMarginViewForSettingDetails(context, _responsiveUtils),
child: SingleChildScrollView(
child: Column( child: Column(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
@@ -31,10 +32,11 @@ class ForwardView extends GetWidget<ForwardController> with AppLoaderMixin {
), ),
SizedBox(height: _responsiveUtils.isWebDesktop(context) ? 24 : 16), SizedBox(height: _responsiveUtils.isWebDesktop(context) ? 24 : 16),
_buildLoadingView(), _buildLoadingView(),
Expanded(child: ListEmailForwardsWidget()) ListEmailForwardsWidget()
], ],
), ),
), ),
),
); );
} }
@@ -84,8 +84,7 @@ class ListEmailForwardsWidget extends GetWidget<ForwardController> {
height: 1, height: 1,
thickness: 0.2, thickness: 0.2,
), ),
Expanded( Obx(() {
child: Obx(() {
return ListView.separated( return ListView.separated(
shrinkWrap: true, shrinkWrap: true,
itemCount: controller.listRecipientForward.length, itemCount: controller.listRecipientForward.length,
@@ -102,7 +101,6 @@ class ListEmailForwardsWidget extends GetWidget<ForwardController> {
), ),
); );
}), }),
),
]), ]),
), ),
); );