Closed mtali closed 11 months ago
Yes, there is, what to do?
Разобрался. Нужно использовать SharedFlow. https://blog.devgenius.io/snackbars-in-jetpack-compose-d1b553224dca
Hi @mtali and @BobbeYo1983, thanks for reporting this issue! We investigated the problem and found out that we were not clearing the SnackbarManager
state after showing a message in the UI, causing the last message to stay there and be shown again every time there was a lifecycle event. We just merged the code that fixes this issue.
For future reference: fixed in #44
An old Snackbar message gets displayed when launching the app from the recent list
Steps to reproduce