mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-10 14:26:34 +00:00
fix: code review
This commit is contained in:
parent
21176f702f
commit
7178ae5910
@ -196,9 +196,8 @@ Rectangle {
|
||||
paste = false;
|
||||
|
||||
// Remove format
|
||||
const cursor = messageInputField.cursorPosition;
|
||||
messageInputField.text = Emoji.parse(chatsModel.plainText(Emoji.deparse(messageInputField.text)));
|
||||
messageInputField.cursorPosition = cursor;
|
||||
messageInputField.text = Emoji.parse(chatsModel.plainText(Emoji.deparse(messageInputField.text)).replaceAll("\n","<br />"))
|
||||
messageInputField.cursorPosition = messageInputField.length;
|
||||
|
||||
interrogateMessage();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user