diff --git a/Riot/Assets/en.lproj/Vector.strings b/Riot/Assets/en.lproj/Vector.strings index 1856fdb9f..89d86d336 100644 --- a/Riot/Assets/en.lproj/Vector.strings +++ b/Riot/Assets/en.lproj/Vector.strings @@ -749,7 +749,7 @@ Tap the + to start adding people."; "settings_three_pids_management_information_part2" = "Discovery"; "settings_three_pids_management_information_part3" = "."; "settings_manage_account_title" = "Account"; -"settings_manage_account_action" = "Manage"; +"settings_manage_account_action" = "Manage account"; "settings_manage_account_description" = "Manage your account at %@"; "settings_confirm_media_size" = "Confirm size when sending"; diff --git a/Riot/Modules/Settings/SettingsViewController.m b/Riot/Modules/Settings/SettingsViewController.m index 86aec19e8..6a29ddf6b 100644 --- a/Riot/Modules/Settings/SettingsViewController.m +++ b/Riot/Modules/Settings/SettingsViewController.m @@ -3920,8 +3920,11 @@ ChangePasswordCoordinatorBridgePresenterDelegate> - (void)onManageAccountTap { - // TODO - // Open a web view with the account url + NSURL *url = [NSURL URLWithString: self.mainSession.homeserverWellknown.authentication.account]; + if (url) { + SFSafariViewController *accountVC = [[SFSafariViewController alloc] initWithURL: url]; + [self presentViewController:accountVC animated:YES completion:nil]; + } } - (void)showThemePicker diff --git a/changelog.d/7653.feature b/changelog.d/7653.feature new file mode 100644 index 000000000..cabf7402b --- /dev/null +++ b/changelog.d/7653.feature @@ -0,0 +1 @@ +New settings cell to manage your account through MAS if the home server allows it. \ No newline at end of file