mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-02 00:25:10 -04:00
"Optimized" computeBatchDirection() to exit the loop once newState is set to true because it can never be changed to false again.
This commit is contained in:
parent
6fc14b9e07
commit
f40a01b0d2
@ -2793,6 +2793,7 @@ public class MessageList
|
||||
if (!holder.flagged)
|
||||
{
|
||||
newState = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -2800,6 +2801,7 @@ public class MessageList
|
||||
if (!holder.read)
|
||||
{
|
||||
newState = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user