parent
7db9abf725
commit
32cd2120ac
|
@ -431,10 +431,7 @@ bool HasSendText(not_null<const Ui::InputField*> field) {
|
|||
const auto &text = field->getTextWithTags().text;
|
||||
for (const auto &ch : text) {
|
||||
const auto code = ch.unicode();
|
||||
if (code != ' '
|
||||
&& code != '\n'
|
||||
&& code != '\r'
|
||||
&& !IsReplacedBySpace(code)) {
|
||||
if (!IsTrimmed(ch) && !IsReplacedBySpace(code)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 34fcd4981d764f0869793893f37822b9c09393ab
|
||||
Subproject commit a48b3d3750ac1a1e3b2f4da3494fa5fb23b66106
|
Loading…
Reference in New Issue