-
-
Notifications
You must be signed in to change notification settings - Fork 835
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
[mob][photos] Implement deep linking for public links #3386
base: main
Are you sure you want to change the base?
Conversation
|
||
CollectionPage( | ||
this.c, { | ||
this.tagPrefix = "collection", | ||
this.hasVerifiedLock = false, | ||
this.isFromCollectPhotos = false, | ||
Key? key, | ||
this.isFromPublicShareLink = false, | ||
this.sharedLinkFiles = const [], |
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 feel it's better to make this nullable and null be its default value. So that it can be easily identified if sharedLinkFiles
was passed (non-null) or not (null).
If we use an empty list by default, it would be hard to know if the link has no files or if a sharedLinkFiles
was never passed. In the future the need to know this might arise.
We can also add an assert
that if isFromPublicShareLink == true
, sharedLinkFiles
cannot be null.
## Description ## Tests
…ing loading dialog till the album is fetched
…ead of albums.ente.io
…rmission to allow opening album links in-app
…ink in-app in the android app's independednt and fdroid versions
Description
Opening an Ente photos public link in the app if the app is installed in phone.