Fix check on new gift collection name.

This commit is contained in:
John Preston
2025-07-25 17:11:36 +04:00
parent 2f3792a3ee
commit 8ead33bc59
@@ -69,7 +69,7 @@ void EditCollectionBox(
return;
}
const auto text = title->getLastText().trimmed();
if (text.isEmpty()) {
if (text.isEmpty() || text.size() > kCollectionNameLimit) {
title->showError();
return;
}