-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Added drag and drop in the home screen #556
Added drag and drop in the home screen #556
Conversation
Thanks, let me review it. |
'other': details.files[0].name | ||
}; | ||
Get.rootDelegate.offNamed(Routes.CREATE, | ||
arguments: !Util.isWeb() ? args['web'] : args['other']); |
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.
Seems like a incorrect.
Web compatibility would be a pain, so we can just support desktops. |
Done modifying only for desktop. Please check |
final args = { | ||
'other': details.files[0].name |
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.
There should be details.files[0].path
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.
And there can return early when it is on web:
if (Util.isWeb()) {
return;
}
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.
rc
Fixes #497
Files can now be dropped on the home screen to download them. Without using global
urlController
.