mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-10 14:08:34 +00:00

When we forward a message or share into the app, it is possible that we are going to reuse the same activity. In this case, when the adapter was reinitialized, we were just adding a new ItemDecoration every time. This fix checks if we've already added one and removes it if necessary, just like the last seen decorator.