Show spinner when downloading text file attachments

This commit is contained in:
Bobbi Webber-Manners 2020-07-07 03:12:15 -04:00
parent f008dfc529
commit 6fa7af0931

View File

@ -838,15 +838,13 @@ restart:
case ENC_B64: case ENC_B64:
chars = decode_base64(); chars = decode_base64();
readp = linebuf; // Decoded text is in linebuf[] readp = linebuf; // Decoded text is in linebuf[]
if (!(linecount % 10))
spinner();
break; break;
case ENC_SKIP: case ENC_SKIP:
if (!(linecount % 10))
spinner();
readp = NULL; // Read next line from disk readp = NULL; // Read next line from disk
break; break;
} }
if (mime_binary && !(linecount % 10))
spinner();
} }
do { do {
if (readp) { if (readp) {