mirror of
https://github.com/quik-sms/quik.git
synced 2026-11-17 19:38:52 +01:00
Mark message as read in the MessageListFragment when it is attached, rather than when it started.
Fixes the ToolBar title bug where when the app returns to the foreground, the title is set to the title from the MessageListFragment
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.moez.QKSMS.ui.messagelist;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.LoaderManager;
|
||||
import android.content.ClipData;
|
||||
@@ -218,8 +219,8 @@ public class MessageListFragment extends QKContentFragment implements ActivityLa
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onStart() {
|
||||
super.onStart();
|
||||
public void onAttach(Activity activity) {
|
||||
super.onAttach(activity);
|
||||
|
||||
// Make sure to notify that this conversation has been opened. This will mark it as read, load new drafts, etc.
|
||||
onOpenConversation();
|
||||
|
||||
Reference in New Issue
Block a user