Rewrite the restricted iterators and reorder the forward references. [skip build]
This commit is contained in:
@@ -553,7 +553,8 @@ function AndroidShareIntentHandler() {
|
||||
|
||||
// Upload and send files if present
|
||||
if (share.files.length > 0) {
|
||||
for (const sharedFile of share.files) {
|
||||
for (let i = 0; i < share.files.length; i += 1) {
|
||||
const sharedFile = share.files[i];
|
||||
const originalFile = await materializeSharedFile(sharedFile, share.receivedAt);
|
||||
|
||||
let fileToUpload = originalFile;
|
||||
|
||||
Reference in New Issue
Block a user