Remove the openDropdownTrigger and replace some with a better toggle

This commit is contained in:
the-djmaze 2023-11-26 17:50:18 +01:00
parent 9d876d1146
commit df7888e3a6
8 changed files with 8 additions and 27 deletions

View file

@ -207,7 +207,7 @@ export class ComposePopupView extends AbstractViewPopup {
this.allowSpellcheck = SettingsUserStore.allowSpellcheck;
addObservablesTo(this, {
identitiesDropdownTrigger: false,
identitiesMenu: false,
from: '',
to: '',
@ -1136,7 +1136,7 @@ export class ComposePopupView extends AbstractViewPopup {
addShortcut('w', 'meta', ScopeCompose, ()=>false);
addShortcut('m', 'meta', ScopeCompose, () => {
this.identitiesDropdownTrigger(true);
this.identitiesMenu().ddBtn.toggle();
return false;
});