Observed behaviour
After restarting the app, the profile incorrectly displays the button to add the user as a friend again, even though the request was already sent previously.
Reproduction steps
- Send a friend request to another user.
- Without waiting for them to accept, navigate to a channel containing that user and close or force-quit the application directly from there.
- Reopen the app (which launches directly into that same view or allows immediate access to the user's profile from the current channel).
Build information
Version 1.0.0, Beta 65, Channel Beta, Build 2459, Android 13 (arm64), Device Xiaomi 21061110AG, Locale en-US, Push fcm, Flutter 3.47.4, Dart 3.13.3
Platform
Android
Details
Expected behaviour
The profile should accurately reflect that a friend request has already been sent (showing a pending/cancel state) and prevent sending duplicate requests.
3 comments
Comment by bizo
Comment by ternera
Comment by Fullest