2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-04 08:25:38 +00:00

Support deleting and reporting stories.

This commit is contained in:
John Preston
2023-06-22 19:29:11 +04:00
parent ebafb55b1b
commit e21c06f67c
19 changed files with 322 additions and 100 deletions

View File

@@ -282,9 +282,9 @@ void BackgroundBox::chosen(const Data::WallPaper &paper) {
close();
});
_controller->show(Ui::MakeConfirmBox({
.text = u"Are you sure you want to reset the wallpaper?"_q,
.text = tr::lng_background_sure_reset_default(),
.confirmed = reset,
.confirmText = u"Reset"_q,
.confirmText = tr::lng_background_reset_default(),
}));
} else {
closeBox();