fix: 有草稿时发送按钮禁用

This commit is contained in:
HuanChengFly 2021-02-12 13:46:41 +08:00
parent 8501277e06
commit dc48b977e1
1 changed files with 3 additions and 0 deletions

View File

@ -171,6 +171,9 @@ public class ReplyActivity extends BaseActivity implements View.OnClickListener
.findFirst(Draft.class); .findFirst(Draft.class);
if (draft != null) { if (draft != null) {
content = draft.getContent(); content = draft.getContent();
if (!TextUtils.isEmpty(content)) {
sendItem.setEnabled(true);
}
} }
} }