-
Notifications
You must be signed in to change notification settings - Fork 1.3k
For 10503 - Update save to collection flow in tab tray #10523
For 10503 - Update save to collection flow in tab tray #10523
Conversation
if (navController.currentDestination?.id == R.id.collectionCreationFragment) return | ||
|
||
// Only register the observer right before moving to collection creation | ||
// registerCollectionStorageObserver() |
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.
@boek I left this in the patch but commented out, as it's in the HomeFragment's implementation, but I don't understand what it's doing for us. Do we need this?
Also, upon saving to collection the tabs don't go away. Is that something we need to be doing?
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.
We don't have collections on the tab tray so we don't need to register for that observer here!
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 no, I think that behavior was confusing so we stopped removing the tabs that we were saving to the collection
2167f10
to
bc26bd3
Compare
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.
Remove that comment and 🚢
if (navController.currentDestination?.id == R.id.collectionCreationFragment) return | ||
|
||
// Only register the observer right before moving to collection creation | ||
// registerCollectionStorageObserver() |
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 no, I think that behavior was confusing so we stopped removing the tabs that we were saving to the collection
bc26bd3
to
a4559bf
Compare
a4559bf
to
7142bb5
Compare
Fixes #10503
Pull Request checklist
After merge
To download an APK when reviewing a PR: