-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix MultiSelect download outside of default FileList #708
Conversation
0f0379e
to
9c03173
Compare
488e6a4
to
f1453eb
Compare
9c03173
to
1666345
Compare
f1453eb
to
95256ab
Compare
1666345
to
ce21e50
Compare
95256ab
to
55e956f
Compare
55e956f
to
2fbf5e9
Compare
39b32f3
to
72946f9
Compare
2fbf5e9
to
c382e00
Compare
72946f9
to
70fce56
Compare
c382e00
to
a9672e3
Compare
70fce56
to
30470e5
Compare
88b3bcd
to
24910a2
Compare
24910a2
to
115ba93
Compare
4b89814
to
3899b72
Compare
3899b72
to
c2a6ccc
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
) { | ||
super.onMenuButtonClicked( | ||
multiSelectBottomSheet = FavoritesMultiSelectActionsBottomSheetDialog(), | ||
areAllFromTheSameFolder = false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to set areAllFromTheSameFolder =false
by default.
To avoid dupplications because here I find 7 occurrences.
emit(ApiRepository.getUUIDArchiveFiles(AccountUtils.currentDriveId, fileIds)) | ||
} | ||
private fun download() { | ||
if (navigationArgs.areAllFromTheSameFolder) downloadArchive() else downloadFiles() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem here is that if you download only one file, it will always download an archive.
Even if it's still weird this action but it would be nice if it was avoided 😅
Signed-off-by: Kevin Boulongne [email protected]