Fix broadcast field placeholder update.

This commit is contained in:
John Preston 2020-10-07 12:09:07 +03:00
parent 0c1312419a
commit 0c1175f9cd
2 changed files with 1 additions and 6 deletions

View File

@ -1942,6 +1942,7 @@ void HistoryWidget::updateNotifyControls() {
if (!session().data().notifySilentPostsUnknown(_peer)) {
if (_silent) {
_silent->setChecked(session().data().notifySilentPosts(_peer));
updateFieldPlaceholder();
} else if (hasSilentToggle()) {
refreshSilentToggle();
updateControlsVisibility();
@ -3132,10 +3133,6 @@ void HistoryWidget::toggleMuteUnmute() {
session().data().updateNotifySettings(_peer, muteForSeconds);
}
void HistoryWidget::onBroadcastSilentChange() {
updateFieldPlaceholder();
}
History *HistoryWidget::history() const {
return _history;
}

View File

@ -294,8 +294,6 @@ signals:
public slots:
void onScroll();
void onBroadcastSilentChange();
void activate();
void onTextChange();