mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-30 13:12:25 -05:00
We shouldn't be resetting visible limits every time K-9 is opened, only when the user changes
how many messages they want to be synced, otherwise the "fetch more messages" option is session-only, which is really, really wasteful of network. (and "session" is poorly defined, since android manages our lifecycle.) Additionally, doing this at startup has huge overhead. If this functionality is ever restored, we should make it asynchronous
This commit is contained in:
parent
9878b74379
commit
30b7402569
@ -520,7 +520,6 @@ public class K9 extends Application
|
|||||||
|
|
||||||
K9.setK9Language(sprefs.getString("language", ""));
|
K9.setK9Language(sprefs.getString("language", ""));
|
||||||
K9.setK9Theme(sprefs.getInt("theme", android.R.style.Theme_Light));
|
K9.setK9Theme(sprefs.getInt("theme", android.R.style.Theme_Light));
|
||||||
MessagingController.getInstance(this).resetVisibleLimits(prefs.getAvailableAccounts());
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We have to give MimeMessage a temp directory because File.createTempFile(String, String)
|
* We have to give MimeMessage a temp directory because File.createTempFile(String, String)
|
||||||
|
Loading…
Reference in New Issue
Block a user