TF-1899 Hide add recipient button in forward when no network
(cherry picked from commit e60297d84c17be06a2c2e7be3b034c5d6415cca3)
This commit is contained in:
-4
@@ -81,10 +81,6 @@ class ForwardRecipientController {
|
||||
}
|
||||
}
|
||||
|
||||
void updateListRecipient(List<EmailAddress> listEmailAddress) {
|
||||
listRecipients.value = listEmailAddress;
|
||||
}
|
||||
|
||||
void clearAll() {
|
||||
inputRecipientController.clear();
|
||||
listRecipients.clear();
|
||||
|
||||
@@ -44,7 +44,10 @@ class ForwardView extends GetWidget<ForwardController> with AppLoaderMixin {
|
||||
if (!_responsiveUtils.isWebDesktop(context))
|
||||
_buildTitleHeader(context),
|
||||
_buildKeepLocalSwitchButton(context),
|
||||
_buildAddRecipientsFormWidget(context),
|
||||
Obx(() => controller.currentForward.value != null
|
||||
? _buildAddRecipientsFormWidget(context)
|
||||
: const SizedBox.shrink()
|
||||
),
|
||||
_buildLoadingView(),
|
||||
Obx(() {
|
||||
if (controller.listRecipientForward.isNotEmpty) {
|
||||
|
||||
Reference in New Issue
Block a user