Reproduction steps
- Open the app, go to your DMs, click the magnificent glass and select "Friends".
- Tap on any friend from the list to open their profile.
- Use the back gesture or swipe the profile card downwards to close/go back.
Observed behaviour
The app incorrectly resets the navigation stack and redirects the user directly to the Messages (DMs) list instead of returning them to the Friends list.
Build information
Version 2026.10.100, Beta 1, Channel Beta, Build 576, Android 13 (arm64), Device Xiaomi 21061110AG, Locale en-US, Push fcm, Flutter 3.47.6, Dart 3.13.5
Platform
Android
Details
Expected behaviour
When dismissing or going back from a friend's profile that was accessed directly from the Friends list, the app should return the user to the exact position they were at within the Friends list.