mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Fix macOS main menu items.
This commit is contained in:
parent
89e8f0ccc3
commit
8b0e54a95c
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,7 @@ void MainWindow::updateGlobalMenuHook() {
|
|||
}
|
||||
App::wnd()->updateIsActive(0);
|
||||
const auto logged = AuthSession::Exists();
|
||||
const auto locked = !Messenger::Instance().locked();
|
||||
const auto locked = Messenger::Instance().locked();
|
||||
const auto inactive = !logged || locked;
|
||||
const auto support = logged && Auth().supportMode();
|
||||
_forceDisabled(psLogout, !logged && !locked);
|
||||
|
|
Loading…
Add table
Reference in a new issue