mirror of
https://github.com/moparisthebest/k-9
synced 2025-01-13 06:38:05 -05:00
Putting the switch from loading... to downloading.. to the UI thread for this to happen more reliably
This commit is contained in:
parent
82491ab42b
commit
791d99fc7a
@ -1111,7 +1111,11 @@ public class MessageView extends K9Activity
|
|||||||
|
|
||||||
MessageView.this.mMessage = message;
|
MessageView.this.mMessage = message;
|
||||||
if (!message.isSet(Flag.X_DOWNLOADED_FULL)) {
|
if (!message.isSet(Flag.X_DOWNLOADED_FULL)) {
|
||||||
mMessageContentView.loadUrl("file:///android_asset/downloading.html");
|
mHandler.post(new Runnable() {
|
||||||
|
public void run() {
|
||||||
|
mMessageContentView.loadUrl("file:///android_asset/downloading.html");
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
setHeaders(account, folder, uid, message);
|
setHeaders(account, folder, uid, message);
|
||||||
|
Loading…
Reference in New Issue
Block a user