mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 14:48:04 -05:00
Only trigger our "loading" indicator if the account matches "our" account
This commit is contained in:
parent
204289a4ff
commit
a736a4267c
@ -1591,7 +1591,7 @@ public class MessageList
|
||||
@Override
|
||||
public void listLocalMessagesStarted(Account account, String folder)
|
||||
{
|
||||
if (account.equals(mAccount))
|
||||
if (account != null && account.equals(mAccount))
|
||||
{
|
||||
mHandler.progress(true);
|
||||
mHandler.folderLoading(folder, true);
|
||||
@ -1601,7 +1601,7 @@ public class MessageList
|
||||
@Override
|
||||
public void listLocalMessagesFailed(Account account, String folder, String message)
|
||||
{
|
||||
if (account.equals(mAccount))
|
||||
if (account != null && account.equals(mAccount))
|
||||
{
|
||||
mHandler.sortMessages();
|
||||
mHandler.progress(false);
|
||||
@ -1613,7 +1613,7 @@ public class MessageList
|
||||
@Override
|
||||
public void listLocalMessagesFinished(Account account, String folder)
|
||||
{
|
||||
if (account.equals(mAccount))
|
||||
if (account != null && account.equals(mAccount))
|
||||
{
|
||||
mHandler.sortMessages();
|
||||
mHandler.progress(false);
|
||||
|
Loading…
Reference in New Issue
Block a user