reorder device messages

This commit is contained in:
B. Petersen
2020-05-02 15:52:48 +02:00
parent e581955a44
commit a011dccfe3
@@ -83,12 +83,16 @@ public class ConversationListActivity extends PassphraseRequiredActionBarActivit
@Override
protected void onCreate(Bundle icicle, boolean ready) {
ApplicationDcContext dcContext = DcHelper.getContext(this);
dcContext.updateDeviceChats();
// show the permanent-notification hint above the welcome-messages (that is also visible in the preview)
// for existing installation, of course, that will be the last as the welcome-messages are added long time ago.
DcMsg msg = new DcMsg(dcContext, DcMsg.DC_MSG_TEXT);
msg.setText(getString(R.string.device_talk_background_connection_android));
dcContext.addDeviceMsg("update1.6.0-h", msg);
// add welcome message
dcContext.updateDeviceChats();
setContentView(R.layout.conversation_list_activity);
Toolbar toolbar = findViewById(R.id.toolbar);