web view opened on tap + changelog

This commit is contained in:
Mauro Romito
2023-08-25 12:21:38 +02:00
parent ee00289acc
commit 489d65d912
3 changed files with 7 additions and 3 deletions
@@ -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