Idea for contacts screen route

This commit is contained in:
the-djmaze 2024-02-11 03:43:44 +01:00
parent a25d35d6df
commit fc141fe29b
10 changed files with 197 additions and 9 deletions

View file

@ -39,7 +39,7 @@ export class MailBoxUserScreen extends AbstractScreen {
/**
* @returns {void}
*/
updateWindowTitle() {
setTitle() {
const count = Settings.app('listPermanentFiltered') ? 0 : FolderUserStore.foldersInboxUnreadCount(),
email = AccountUserStore.email();
@ -55,7 +55,7 @@ export class MailBoxUserScreen extends AbstractScreen {
* @returns {void}
*/
onShow() {
this.updateWindowTitle();
this.setTitle();
AppUserStore.focusedState('none');
AppUserStore.focusedState(ScopeMessageList);
}
@ -99,7 +99,7 @@ export class MailBoxUserScreen extends AbstractScreen {
email === item?.email && item?.count(e.detail)
);
*/
this.updateWindowTitle();
this.setTitle();
});
}