Commit 01cb0642 by 霍志良

feat:私聊标题输入中问题修复

parent f0552267
......@@ -225,14 +225,18 @@ public class YDLP2PMessageActivity extends YDLBaseMessageActivity {
JSONObject json = JSON.parseObject(content);
int id = json.getIntValue("id");
if (id == 1) {
//对方输入中
oldName= tb.getTitle();
tb.setTitle("对方正在输入...");
} else if (id==2){
//对方结束输入
tb.setTitle(oldName);
}else{
tb.setTitle(oldName);
}
} catch (Exception e) {
tb.setTitle(oldName);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment