Fix streamer mode button being always visible on Windows (#4690)

Fixes #4682
This commit is contained in:
pajlada 2023-06-18 14:33:44 +02:00 committed by GitHub
parent 0e60ca10d0
commit af34bf6246
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View file

@ -3,7 +3,7 @@
## Unversioned
- Minor: Nicknames are now taken into consideration when searching for messages. (#4663)
- Minor: Add an icon showing when streamer mode is enabled (#4410)
- Minor: Add an icon showing when streamer mode is enabled (#4410, #4690)
- Minor: Added `/shoutout <username>` commands to shoutout specified user. (#4638)
- Minor: Improved editing hotkeys. (#4628)
- Minor: The input completion and quick switcher are now styled to match your theme. (#4671)

View file

@ -197,6 +197,9 @@ void Window::addCustomTitlebarButtons()
this->signalHolder_.managedConnect(getApp()->streamerModeChanged, [this]() {
this->updateStreamerModeIcon();
});
// Update initial state
this->updateStreamerModeIcon();
}
void Window::updateStreamerModeIcon()