mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-08-28 19:49:20 +03:00
Globalize message composer popup window
This commit is contained in:
parent
5601e100d9
commit
e7b1ce7509
6 changed files with 51 additions and 77 deletions
|
|
@ -1008,8 +1008,9 @@ class AppUser extends AbstractApp {
|
|||
setTimeout(this.quota, 5000);
|
||||
setTimeout(() => Remote.appDelayStart(()=>{}), 35000);
|
||||
|
||||
// When auto-login is active
|
||||
if (
|
||||
!!Settings.get('AccountSignMe') &&
|
||||
Settings.get('AccountSignMe') &&
|
||||
navigator.registerProtocolHandler &&
|
||||
Settings.capa(Capa.Composer)
|
||||
) {
|
||||
|
|
@ -1023,7 +1024,7 @@ class AppUser extends AbstractApp {
|
|||
} catch (e) {} // eslint-disable-line no-empty
|
||||
|
||||
if (Settings.get('MailToEmail')) {
|
||||
mailToHelper(Settings.get('MailToEmail'), ComposePopupView);
|
||||
mailToHelper(Settings.get('MailToEmail'));
|
||||
}
|
||||
}, 500);
|
||||
}
|
||||
|
|
@ -1047,9 +1048,9 @@ class AppUser extends AbstractApp {
|
|||
setInterval(() => dispatchEvent(new CustomEvent('reload-time')), 60000);
|
||||
}
|
||||
|
||||
showComposePopupView(params = [])
|
||||
showMessageComposer(params = [])
|
||||
{
|
||||
showScreenPopup(ComposePopupView, params);
|
||||
Settings.capa(Capa.Composer) && showScreenPopup(ComposePopupView, params);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue