"Connect to a different instance" text does not update when choosing a new instance

(#2101) Bug Fixed mobile self-hosting

Observed behaviour

The text doesn't change, so e.g. if I was connected to example.com, and I tell it I'm logging into fluxer.app instead, the text still says "example.com • Change", so it looks like I'm still connecting to example.com. If I was connected to the official instance, it still says "Connect to a different instance", so it looks like I'm still connected to the official instance.

Reproduction steps

  1. Go to the login screen
  2. Tap the text below the register button; it says "Connect to a different instance" or "<url> • Change" depending on whether you're already connected to a self-hosted instance
  3. Enter any valid instance URL, including the official instance with the refresh button or an instance from the history, and click "Connect"

Build information

Version 1.0.0, Beta 57, Channel Beta, Build 2366, Android 17 (arm64), Device Google Pixel 8, Locale en-BE, Push fcm, Flutter 3.47.1, Dart 3.13.1

Platform

Android

Details

Expected behaviour The text should change, so if I'm on the official instance and I connect to example.com it should say "example.com • Change", and if I switch back to the official instance the text should reflect that.
  1. Rex changed the status from Needs triage to Fixed

3 comments

Sign in with Fluxer to comment and vote.
Comment by @edeuss
RexSystem 1 vote originally by @edeuss on GitHub
This is already fixed but I think the user didn't updated before testing.