mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 14:05:05 -05:00
Refresh the list when returning to the message list activity
This commit is contained in:
parent
b04f1b4319
commit
26b462a90e
@ -895,6 +895,12 @@ public class MessageListFragment extends SherlockFragment implements OnItemClick
|
||||
|
||||
mSenderAboveSubject = K9.messageListSenderAboveSubject();
|
||||
|
||||
// Refresh the message list
|
||||
LoaderManager loaderManager = getLoaderManager();
|
||||
for (int i = 0; i < mAccountUuids.length; i++) {
|
||||
loaderManager.restartLoader(i, null, this);
|
||||
}
|
||||
|
||||
// Check if we have connectivity. Cache the value.
|
||||
if (mHasConnectivity == null) {
|
||||
final ConnectivityManager connectivityManager =
|
||||
|
Loading…
Reference in New Issue
Block a user