mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix history visibility edit button.
Regression was introduced in c3386fba52.
Fixes #24691.
This commit is contained in:
@@ -608,7 +608,7 @@ void Controller::refreshHistoryVisibility() {
|
||||
const auto withUsername = _typeDataSavedValue
|
||||
&& (_typeDataSavedValue->privacy == Privacy::HasUsername);
|
||||
_controls.historyVisibilityWrap->toggle(
|
||||
(withUsername
|
||||
(!withUsername
|
||||
&& !_channelHasLocationOriginalValue
|
||||
&& (!_linkedChatSavedValue || !*_linkedChatSavedValue)),
|
||||
anim::type::instant);
|
||||
|
||||
Reference in New Issue
Block a user