Skip to content

Commit

Permalink
fix: HandleClickGroupBotMsgBtnSend action.enter
Browse files Browse the repository at this point in the history
  • Loading branch information
HdShare committed Sep 16, 2024
1 parent cf6f615 commit 5e8c98d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ object HandleClickGroupBotMsgBtnSend : CommonSwitchFunctionHook() {
val prototype = btnModel.get(prototypeName)
val label = prototype.get("label") as String
val type = prototype.get("type") as Int
if (type == 2) {
val enter = prototype.get("enter") as Boolean
if (type == 2 && enter) {
MaterialDialog(context).show {
title(text = "是否发送内容")
message(text = label)
Expand Down

0 comments on commit 5e8c98d

Please sign in to comment.