Skip to content

Display doesn't refresh after following a profile - iOS app #1453

@octonox

Description

@octonox

Steps to reproduce the problem

  1. Log in on the iOS app.
  2. Click on the magnifying glass search button at the bottom.
  3. Click on the "For You" button at the top.
  4. Click on a profile that's suggested to you.
  5. Click on the "Follow" button.
  6. Go back to the search bar, and see that the follow button on the profile that was suggested is still here, even though you have just followed this profile.

Expected behaviour

I expect that, after step 5, when going back to the search bar, a "Following" button appears on the profile, instead of a "Follow" button.

Actual behaviour

After step 5, when I go back on the "For You" page, the profile I have just followed has a "Follow" button, even though I already follow the account.

Detailed description

This is happening on the iOS app.

  • When I open the app, click on the "Search" magnifying glass button at the bottom, and then on the "For You" button at the top, I am proposed some Mastodon accounts to follow.
  • If I click on one of these accounts, click the "Follow" button on their profile, and come back to the "For You" page, I would expect the proposed profile to have a button that says "Following", as I now follow this account.
  • Instead, the button is still the "Follow" button.

However, this "Follow" button works like the "Following" button : if I click on it, I get a pop-up that asks me if I want to unfollow the account. Moreover, if I click "Cancel" on this pop-up, indicating that I do not want to unfollow the account, the button switches from "Follow" to "Following", as if it finally gets that I follow this account.

Note that the same issue occurs if I choose to unfollow the account from its profile and then come back to the "For You" page : the button still says "Following", but works like a "Follow" button, because if I click on it nothing happens, and if I click on it a second time I get the unfollowing pop-up.

It might just be that the display is not refreshed when coming back from a profile to the "For You" page, but I feel it can be confusing to the user.

Mastodon instance

mathstodon.xyz

Mastodon version

Mastodon for iOS v2025.05 (7347)

Browser name and version

Mastodon for iOS

Operating system

iOS 18.5

Technical details

No response

Metadata

Metadata

Labels

No labels
No labels

Type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions