2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Removed masks panel when there are no masks.

This commit is contained in:
23rd
2021-03-31 03:26:32 +03:00
parent 2a58d01927
commit b2a1c10036
5 changed files with 50 additions and 14 deletions

View File

@@ -641,7 +641,7 @@ void StickersBox::refreshTabs() {
sections.push_back(tr::lng_stickers_installed_tab(tr::now).toUpper());
_tabIndices.push_back(Section::Installed);
}
if (!stickers.maskSetsOrder().isEmpty() && _masks.widget()) {
if (_masks.widget()) {
sections.push_back(tr::lng_stickers_masks_tab(tr::now).toUpper());
_tabIndices.push_back(Section::Masks);
}