#1 Fixed chat timestamps not always working correctly
This commit is contained in:
@ -154,7 +154,7 @@ class _ChatTextfieldState extends State<ChatTextfield> {
|
||||
),
|
||||
cursorColor: Colors.white,
|
||||
onChanged: (String text) {
|
||||
if(text == "marbot marbot marbot") {
|
||||
if(text.trim().toLowerCase() == "marbot marbot marbot") {
|
||||
var newText = "Roboter sind cool und so, aber marbots sind besser!";
|
||||
_textBoxController.text = newText;
|
||||
text = newText;
|
||||
|
Reference in New Issue
Block a user