mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Fix check on new gift collection name.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user