mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-15 19:47:03 +00:00
Improve scheduled messages icon design.
This commit is contained in:
parent
fb96d2eef8
commit
1c9775baf9
BIN
Telegram/Resources/icons/send_control_scheduled.png
Normal file
BIN
Telegram/Resources/icons/send_control_scheduled.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 362 B |
BIN
Telegram/Resources/icons/send_control_scheduled@2x.png
Normal file
BIN
Telegram/Resources/icons/send_control_scheduled@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 652 B |
BIN
Telegram/Resources/icons/send_control_scheduled@3x.png
Normal file
BIN
Telegram/Resources/icons/send_control_scheduled@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.1 KiB |
BIN
Telegram/Resources/icons/send_control_scheduled_dot.png
Normal file
BIN
Telegram/Resources/icons/send_control_scheduled_dot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 221 B |
BIN
Telegram/Resources/icons/send_control_scheduled_dot@2x.png
Normal file
BIN
Telegram/Resources/icons/send_control_scheduled_dot@2x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 406 B |
BIN
Telegram/Resources/icons/send_control_scheduled_dot@3x.png
Normal file
BIN
Telegram/Resources/icons/send_control_scheduled_dot@3x.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 622 B |
@ -268,8 +268,15 @@ historyBotCommandStart: IconButton(historyAttach) {
|
||||
iconOver: icon {{ "send_control_bot_command", historyComposeIconFgOver }};
|
||||
}
|
||||
historyScheduledToggle: IconButton(historyAttach) {
|
||||
icon: icon {{ "dialogs_calendar", historyComposeIconFg }};
|
||||
iconOver: icon {{ "dialogs_calendar", historyComposeIconFgOver }};
|
||||
icon: icon {
|
||||
{ "send_control_scheduled", historyComposeIconFg },
|
||||
{ "send_control_scheduled_dot", attentionButtonFg }
|
||||
};
|
||||
iconOver: icon {
|
||||
{ "send_control_scheduled", historyComposeIconFgOver },
|
||||
{ "send_control_scheduled_dot", attentionButtonFg }
|
||||
};
|
||||
iconPosition: point(-1px, -1px);
|
||||
}
|
||||
historyRecordVoiceFg: historyComposeIconFg;
|
||||
historyRecordVoiceFgOver: historyComposeIconFgOver;
|
||||
|
@ -638,7 +638,7 @@ HistoryWidget::HistoryWidget(
|
||||
if (action.options.scheduled) {
|
||||
crl::on_main(this, [=, history = action.history]{
|
||||
controller->showSection(
|
||||
HistoryView::ScheduledMemento(action.history));
|
||||
HistoryView::ScheduledMemento(history));
|
||||
});
|
||||
} else {
|
||||
fastShowAtEnd(action.history);
|
||||
|
@ -810,7 +810,9 @@ void AppendEmojiPacks(std::vector<PickerScrubberItem> &to) {
|
||||
if (const auto error = RestrictionToSendStickers()) {
|
||||
Ui::show(Box<InformBox>(*error));
|
||||
}
|
||||
Api::SendExistingDocument(chat.history(), document);
|
||||
Api::SendExistingDocument(
|
||||
Api::MessageToSend(chat.history()),
|
||||
document);
|
||||
return true;
|
||||
} else if (const auto emoji = _stickers[index].emoji) {
|
||||
if (const auto inputField = qobject_cast<QTextEdit*>(
|
||||
|
Loading…
Reference in New Issue
Block a user