feat(mail): new option to force default identity

Users can now force the default identity to always be used when replying
or forwarding a message.
This commit is contained in:
Francis Lachapelle committed 2021-01-14 15:23:43 -05:00
1 parent 2826c83fc5
commit fc4f5d2161
12 files changed
+77 -30

No files matched your search

@@ -97,6 +97,12 @@
<!-- identities -->
<div class="pseudo-input-container" ng-if="$AccountDialogController.hasIdentities()">
<label class="pseudo-input-label"><var:string label:value="Identities"/></label>
<md-checkbox
class="pseudo-input-field"
ng-show="$AccountDialogController.hasDefaultIdentity()"
ng-model="$AccountDialogController.account.forceDefaultIdentity"
ng-true-value="1"
ng-false-value="0"><var:string label:value="Always use the default identity when replying to messages"/></md-checkbox>
<md-card ng-repeat="identity in $AccountDialogController.account.identities | filter:$AccountDialogController.isEditableIdentity"
class="sg-collapsed"
ng-class="{ 'sg-expanded': $index == $AccountDialogController.selectedIdentity }">