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) {
|
||||
|
||||
-1
@@ -42,7 +42,6 @@ class IdentitiesHeaderWidget extends StatelessWidget {
|
||||
label: AppLocalizations.of(context).createNewIdentity,
|
||||
icon: imagePaths.icAddIdentity,
|
||||
iconSize: 28,
|
||||
padding: const EdgeInsets.all(16),
|
||||
minimumSize: const Size(double.infinity, 44),
|
||||
onTap: onAddNewIdentityAction
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user