diff --git a/src/session/view/account_settings/user_page/mod.rs b/src/session/view/account_settings/user_page/mod.rs index 8c82c3a2..0cc7a5f4 100644 --- a/src/session/view/account_settings/user_page/mod.rs +++ b/src/session/view/account_settings/user_page/mod.rs @@ -46,11 +46,11 @@ mod imp { #[template_child] pub change_password_subpage: TemplateChild, #[template_child] - pub homeserver: TemplateChild, + pub homeserver: TemplateChild, #[template_child] - pub user_id: TemplateChild, + pub user_id: TemplateChild, #[template_child] - pub session_id: TemplateChild, + pub session_id: TemplateChild, #[template_child] pub deactivate_account_subpage: TemplateChild, #[template_child] @@ -162,13 +162,13 @@ impl UserPage { let client = obj.session().unwrap().client(); let homeserver = client.homeserver(); - imp.homeserver.set_label(homeserver.as_ref()); + imp.homeserver.set_subtitle(homeserver.as_ref()); let user_id = client.user_id().unwrap(); - imp.user_id.set_label(user_id.as_ref()); + imp.user_id.set_subtitle(user_id.as_ref()); let session_id = client.device_id().unwrap(); - imp.session_id.set_label(session_id.as_ref()); + imp.session_id.set_subtitle(session_id.as_ref()); }) ); } diff --git a/src/session/view/account_settings/user_page/mod.ui b/src/session/view/account_settings/user_page/mod.ui index c9f19ea2..dee97022 100644 --- a/src/session/view/account_settings/user_page/mod.ui +++ b/src/session/view/account_settings/user_page/mod.ui @@ -59,45 +59,27 @@ Advanced Information - + Homeserver - - - - end - true - - + - + Matrix User ID - - - - end - true - - + - + Session ID - - - - end - true - - +