mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 23:55:12 +00:00
Fix broadcast field placeholder update.
This commit is contained in:
@@ -1942,6 +1942,7 @@ void HistoryWidget::updateNotifyControls() {
|
|||||||
if (!session().data().notifySilentPostsUnknown(_peer)) {
|
if (!session().data().notifySilentPostsUnknown(_peer)) {
|
||||||
if (_silent) {
|
if (_silent) {
|
||||||
_silent->setChecked(session().data().notifySilentPosts(_peer));
|
_silent->setChecked(session().data().notifySilentPosts(_peer));
|
||||||
|
updateFieldPlaceholder();
|
||||||
} else if (hasSilentToggle()) {
|
} else if (hasSilentToggle()) {
|
||||||
refreshSilentToggle();
|
refreshSilentToggle();
|
||||||
updateControlsVisibility();
|
updateControlsVisibility();
|
||||||
@@ -3132,10 +3133,6 @@ void HistoryWidget::toggleMuteUnmute() {
|
|||||||
session().data().updateNotifySettings(_peer, muteForSeconds);
|
session().data().updateNotifySettings(_peer, muteForSeconds);
|
||||||
}
|
}
|
||||||
|
|
||||||
void HistoryWidget::onBroadcastSilentChange() {
|
|
||||||
updateFieldPlaceholder();
|
|
||||||
}
|
|
||||||
|
|
||||||
History *HistoryWidget::history() const {
|
History *HistoryWidget::history() const {
|
||||||
return _history;
|
return _history;
|
||||||
}
|
}
|
||||||
|
@@ -294,8 +294,6 @@ signals:
|
|||||||
public slots:
|
public slots:
|
||||||
void onScroll();
|
void onScroll();
|
||||||
|
|
||||||
void onBroadcastSilentChange();
|
|
||||||
|
|
||||||
void activate();
|
void activate();
|
||||||
void onTextChange();
|
void onTextChange();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user