mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Merge branch 'master' of https://github.com/telegramdesktop/tdesktop into dev
This commit is contained in:
@@ -860,6 +860,7 @@ void SettingsInner::updateSize(int32 newWidth) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void SettingsInner::updateOnlineDisplay() {
|
||||
}
|
||||
|
||||
@@ -1474,6 +1475,11 @@ void SettingsInner::onDesktopNotify() {
|
||||
}
|
||||
}
|
||||
|
||||
void SettingsInner::enableDisplayNotify(bool enable)
|
||||
{
|
||||
_desktopNotify.setChecked(enable);
|
||||
}
|
||||
|
||||
void SettingsInner::onSenderName() {
|
||||
_messagePreview.setDisabled(!_senderName.checked());
|
||||
if (!_senderName.checked() && _messagePreview.checked()) {
|
||||
@@ -1858,6 +1864,11 @@ void SettingsWidget::updateWideMode() {
|
||||
}
|
||||
}
|
||||
|
||||
void SettingsWidget::updateDisplayNotify()
|
||||
{
|
||||
_inner.enableDisplayNotify(cDesktopNotify());
|
||||
}
|
||||
|
||||
void SettingsWidget::updateOnlineDisplay() {
|
||||
_inner.updateOnlineDisplay();
|
||||
}
|
||||
|
Reference in New Issue
Block a user