mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Rename Identity.formattedName to Identity.toString
This commit is contained in:
parent
64e780e500
commit
1b4bf3b8c3
4 changed files with 6 additions and 6 deletions
|
|
@ -344,7 +344,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
IdentityUserStore.map(item => ({
|
||||
item: item,
|
||||
optValue: item.id(),
|
||||
optText: item.formattedName()
|
||||
optText: item
|
||||
})),
|
||||
|
||||
canBeSentOrSaved: () => !this.sending() && !this.saving()
|
||||
|
|
@ -359,7 +359,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
|
||||
currentIdentity: value => {
|
||||
if (value) {
|
||||
this.from(value.formattedName());
|
||||
this.from(value.toString());
|
||||
this.doEncrypt(value.pgpEncrypt() || SettingsUserStore.pgpEncrypt());
|
||||
this.doSign(value.pgpSign() || SettingsUserStore.pgpSign());
|
||||
}
|
||||
|
|
@ -455,7 +455,7 @@ export class ComposePopupView extends AbstractViewPopup {
|
|||
contactsCommand: self => self.allowContacts
|
||||
});
|
||||
|
||||
this.from(IdentityUserStore()[0].formattedName());
|
||||
this.from(IdentityUserStore()[0].toString());
|
||||
}
|
||||
|
||||
sentFolder()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue