mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
fix: confirmation box overlap
This commit is contained in:
@@ -548,7 +548,7 @@ void GifsListWidget::selectInlineResult(
|
||||
|
||||
const auto &settings = AyuSettings::getInstance();
|
||||
if (settings.gifConfirmation()) {
|
||||
Ui::show(Ui::MakeConfirmBox({
|
||||
_show->showBox(Ui::MakeConfirmBox({
|
||||
.text = tr::ayu_ConfirmationGIF(),
|
||||
.confirmed = sendGIFCallback,
|
||||
.confirmText = tr::lng_send_button()
|
||||
|
||||
@@ -2300,7 +2300,7 @@ void StickersListWidget::mouseReleaseEvent(QMouseEvent *e) {
|
||||
});
|
||||
|
||||
if (settings.stickerConfirmation() && (_mode == Mode::Full || _mode == Mode::ChatIntro) && _requireConfirmation) {
|
||||
Ui::show(Ui::MakeConfirmBox({
|
||||
_show->showBox(Ui::MakeConfirmBox({
|
||||
.text = tr::ayu_ConfirmationSticker(),
|
||||
.confirmed = sendStickerCallback,
|
||||
.confirmText = tr::lng_send_button()
|
||||
|
||||
Reference in New Issue
Block a user