Skip to content

Commit

Permalink
Probable fix for #860
Browse files Browse the repository at this point in the history
  • Loading branch information
the-djmaze committed Feb 22, 2023
1 parent b93a31f commit f023a07
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/Stores/User/App.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { keyScope, leftPanelDisabled, SettingsGet, elementById } from 'Common/Globals';
import { addObservablesTo } from 'External/ko';
import { ThemeStore } from 'Stores/Theme';
import { arePopupsVisible } from 'Knoin/Knoin';

export const AppUserStore = {
allowContacts: () => !!SettingsGet('contactsAllowed')
Expand All @@ -15,7 +16,7 @@ addObservablesTo(AppUserStore, {
AppUserStore.focusedState.subscribe(value => {
['FolderList','MessageList','MessageView'].forEach(name => {
if (name === value) {
keyScope(value);
arePopupsVisible() || keyScope(value);
ThemeStore.isMobile() && leftPanelDisabled('FolderList' !== value);
}
let dom = elementById('V-Mail'+name);
Expand Down

0 comments on commit f023a07

Please sign in to comment.