Revamp mobile including CSS flexbox for messageListItem

This commit is contained in:
djmaze 2021-02-15 15:20:22 +01:00
parent 6238b97f08
commit 10f9ce39d9
70 changed files with 479 additions and 821 deletions

View file

@ -1090,7 +1090,7 @@ class ComposePopupView extends AbstractViewPopup {
}
setFocusInPopup() {
// rl.settings.app('mobile') ||
// isMobile() ||
setTimeout(() => {
if (!this.to()) {
this.to.focused(true);

View file

@ -160,7 +160,7 @@ class FilterPopupView extends AbstractViewPopup {
}
onShowWithDelay() {
if (this.isNew() && this.filter()/* && !rl.settings.app('mobile')*/) {
if (this.isNew() && this.filter()/* && !isMobile()*/) {
this.filter().nameFocused(true);
}
}

View file

@ -72,7 +72,7 @@ class FolderCreatePopupView extends AbstractViewPopup {
}
onShowWithDelay() {
// rl.settings.app('mobile') ||
// isMobile() ||
this.folderNameFocused(true);
}
}

View file

@ -166,7 +166,7 @@ class IdentityPopupView extends AbstractViewPopup {
}
onShowWithDelay() {
if (!this.owner()/* && !rl.settings.app('mobile')*/) {
if (!this.owner()/* && !isMobile()*/) {
this.emailFocused(true);
}
}

View file

@ -49,7 +49,7 @@ class TwoFactorTestPopupView extends AbstractViewPopup {
}
onShowWithDelay() {
// rl.settings.app('mobile') ||
// isMobile() ||
this.codeFocused(true);
}
}