fix: 有草稿时发送按钮禁用
This commit is contained in:
parent
8501277e06
commit
dc48b977e1
|
|
@ -171,6 +171,9 @@ public class ReplyActivity extends BaseActivity implements View.OnClickListener
|
|||
.findFirst(Draft.class);
|
||||
if (draft != null) {
|
||||
content = draft.getContent();
|
||||
if (!TextUtils.isEmpty(content)) {
|
||||
sendItem.setEnabled(true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue