[PR #6528] PM-31664: Add new SnackbarRelay type specific for the View Screen #12789

Closed
opened 2026-04-11 03:51:17 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/bitwarden/android/pull/6528

State: closed
Merged: Yes


🎟️ Tracking

PM-31664

📔 Objective

This PR adds two new SnackbarRelay values for the archiving and unarchiving an item from the VaultItemScreen. This is required because when the normal relay event is sent, the VaultItemViewModel was consuming it right away and the subsequent screens we not getting the event. Providing it its own relay type resolves this issue.

**Original Pull Request:** https://github.com/bitwarden/android/pull/6528 **State:** closed **Merged:** Yes --- ## 🎟️ Tracking [PM-31664](https://bitwarden.atlassian.net/browse/PM-31664) ## 📔 Objective This PR adds two new SnackbarRelay values for the archiving and unarchiving an item from the `VaultItemScreen`. This is required because when the normal relay event is sent, the `VaultItemViewModel` was consuming it right away and the subsequent screens we not getting the event. Providing it its own relay type resolves this issue. [PM-31664]: https://bitwarden.atlassian.net/browse/PM-31664?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
GiteaMirror added the pull-request label 2026-04-11 03:51:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#12789