mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-15 22:15:15 -05:00
Fixes Issue 1430
Displaying the progress in the list was way too slow.
This commit is contained in:
parent
664c4d6a78
commit
1079e03495
@ -109,7 +109,7 @@
|
|||||||
<string name="general_no_subject">(No subject)</string> <!-- Shown in place of the subject when a message has no subject. Showing this in parentheses is customary. -->
|
<string name="general_no_subject">(No subject)</string> <!-- Shown in place of the subject when a message has no subject. Showing this in parentheses is customary. -->
|
||||||
|
|
||||||
<string name="general_no_sender">No sender</string>
|
<string name="general_no_sender">No sender</string>
|
||||||
<string name="status_loading">Poll<xliff:g id="progress">%s</xliff:g></string>
|
<string name="status_loading">Polling</string>
|
||||||
<string name="status_loading_folder">(Poll <xliff:g id="folder">%s</xliff:g><xliff:g id="progress">%s</xliff:g>)</string>
|
<string name="status_loading_folder">(Poll <xliff:g id="folder">%s</xliff:g><xliff:g id="progress">%s</xliff:g>)</string>
|
||||||
<string name="status_loading_more">Loading messages\u2026</string>
|
<string name="status_loading_more">Loading messages\u2026</string>
|
||||||
<string name="status_network_error">Connection error</string>
|
<string name="status_network_error">Connection error</string>
|
||||||
|
@ -1204,8 +1204,7 @@ public class FolderList extends K9ListActivity
|
|||||||
|
|
||||||
if (folder.loading)
|
if (folder.loading)
|
||||||
{
|
{
|
||||||
String progress = false && mAdapter.mListener.getFolderTotal() > 0 ? getString(R.string.folder_progress, mAdapter.mListener.getFolderCompleted(), mAdapter.mListener.getFolderTotal()) : "";
|
statusText = getString(R.string.status_loading);
|
||||||
statusText = getString(R.string.status_loading, progress);
|
|
||||||
}
|
}
|
||||||
else if (folder.status != null)
|
else if (folder.status != null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user