Closed ja02 closed 9 years ago
Only files are counted, folders are not. Should we count both?
I don't know how the cloud API looks like. If you need to make a separate call to download the folder, then yes, I would suggest to calculate it in. If that's not the case (e.g. you already have the cloud tree cached locally, so the app can just go ahead and create the folder), then I would suggest to rename the label to Files count.
I would rather count the folders in, renaming the label means changing the localisation files.
Fixed in MEGA-2.1.0-test3.apk (all items are counted, both folders and files)
On 2.1.0-test3 app behaves differently, but items count still wrong:
Error: Items count is 4 (probably calculated download of Folder1 twice. Expected: Items count should be 2 (please note that here we are downloading just the files, to a predefined local path. The folder Folder1 doesn't have to be created locally, which is different situation than when a sync is being set up).
Good catch! Will fix it in next build.
Fixed in MEGA-2.1.0-test4.apk
Verified in 2.1.0-test4.
Cloud contains /Folder1 and /Folder2. Long-tap Folder1 to select it, then short-tap Folder2 to select it too. Tap the Download button on the toolbar. The confirmation dialog says the number of items to download is 1, but should be 2 (it then correctly downloads both folders).