rl.setWindowTitle() to rl.setTitle()

This commit is contained in:
the-djmaze 2022-11-14 09:15:25 +01:00
parent 951ba62621
commit 089f016633
7 changed files with 11 additions and 12 deletions

View file

@ -8,6 +8,6 @@ export class LoginUserScreen extends AbstractScreen {
}
onShow() {
rl.setWindowTitle();
rl.setTitle();
}
}

View file

@ -46,7 +46,7 @@ export class MailBoxUserScreen extends AbstractScreen {
const count = Settings.app('listPermanentFiltered') ? 0 : FolderUserStore.foldersInboxUnreadCount(),
email = AccountUserStore.email();
rl.setWindowTitle(
rl.setTitle(
(email
? '' + (0 < count ? '(' + count + ') ' : ' ') + email + ' - '
: ''

View file

@ -72,6 +72,6 @@ export class SettingsUserScreen extends AbstractSettingsScreen {
setSettingsTitle() {
const sEmail = AccountUserStore.email();
rl.setWindowTitle((sEmail ? sEmail + ' - ' : '') + this.sSettingsTitle);
rl.setTitle((sEmail ? sEmail + ' - ' : '') + this.sSettingsTitle);
}
}