Files
element-x-android/features
Yan Minagawa 83a01eb880 Send "Link new device" to the link-new-device flow again
PreferencesFlowNode routed navigateToLinkNewDevice() to
callback.navigateToAddAccount(), so tapping "Link new device" under
Account settings opened the "Add an account" screen instead — the
opposite direction, signing an extra account into this device rather
than authorising a new one.

The correct destination was already implemented and simply unreachable:
LoggedInFlowNode handles navigateToLinkNewDevice() by pushing
NavTarget.LinkNewDevice. Call that instead.

Regression from 9b2577f1dd ("Split settings: app settings / account
settings"); the previous code called callback.navigateToLinkNewDevice().
It went unnoticed because FeatureFlags.QrCodeLogin defaults to false,
which hides the entry point on default builds.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017y1etzTCPzowrNcPyRBdjm
2026-09-26 16:48:46 +02:00
..
2026-09-02 10:07:17 +00:00
2026-09-02 10:07:17 +00:00
2026-09-21 00:54:07 +00:00
2026-09-02 10:07:17 +00:00
2026-09-02 10:07:17 +00:00
2026-09-02 10:07:17 +00:00
2026-09-07 14:19:38 +02:00
2026-09-02 10:07:17 +00:00
2026-09-21 00:54:07 +00:00
2026-09-02 10:07:17 +00:00
2026-09-21 00:54:07 +00:00
2026-09-21 00:54:07 +00:00
2026-09-07 14:19:38 +02:00
2026-09-14 00:54:38 +00:00
2026-09-02 10:07:17 +00:00
2026-09-02 10:07:17 +00:00
2026-09-21 00:54:07 +00:00