mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Merge branch 'master' of gitlab.futo.org:videostreaming/grayjay
This commit is contained in:
commit
6df8f84421
1 changed files with 5 additions and 0 deletions
|
@ -85,6 +85,11 @@ class CommentDialog(context: Context?, val contextUrl: String, val ref: Protocol
|
|||
return@setOnClickListener;
|
||||
}
|
||||
|
||||
if (_editComment.text.isBlank()) {
|
||||
UIDialogs.toast(context, "Comment should not be blank.");
|
||||
return@setOnClickListener;
|
||||
}
|
||||
|
||||
val comment = _editComment.text.toString();
|
||||
val processHandle = StatePolycentric.instance.processHandle!!
|
||||
val eventPointer = processHandle.post(comment, null, ref)
|
||||
|
|
Loading…
Add table
Reference in a new issue