mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Added ability to delete and reorder mask sets.
Moved ApiWrap::stickerSetDisenabled and ApiWrap::stickersSaveOrder to ApiWrap::saveStickerSets as lambdas.
This commit is contained in:
@@ -944,12 +944,14 @@ void StickersBox::saveChanges() {
|
||||
if (const auto widget = _installed.widget()) {
|
||||
session().api().saveStickerSets(
|
||||
widget->getOrder(),
|
||||
widget->getRemovedSets());
|
||||
widget->getRemovedSets(),
|
||||
false);
|
||||
}
|
||||
if (const auto widget = _masks.widget()) {
|
||||
session().api().saveStickerSets(
|
||||
widget->getOrder(),
|
||||
widget->getRemovedSets());
|
||||
widget->getRemovedSets(),
|
||||
true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user