Show the account receiving the device verification request

Replace SessionDetailsView by AccountInfoCard with the DeviceVerification mode
on the incoming device verification screen, so that the account concerned by
the request is clearly indicated, with its avatar and Matrix ID.

The current user is built from the SessionStore, including the locally stored
avatar thumbnail, used as a fallback when the avatar cannot be loaded, for
instance for an account which is not the current one.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benoit Marty
2026-09-28 17:23:59 +02:00
parent 7502ab16c5
commit e6750dd301
10 changed files with 94 additions and 111 deletions
@@ -412,6 +412,7 @@ Reason: %1$s."</string>
<string name="common_shared_live_location">"Shared live location"</string>
<string name="common_shared_location">"Shared location"</string>
<string name="common_shared_space">"Shared space"</string>
<string name="common_signed_in">"Signed in"</string>
<string name="common_signing_out">"Removing device"</string>
<string name="common_something_went_wrong">"Something went wrong"</string>
<string name="common_something_went_wrong_message">"We encountered an issue. Please try again."</string>