opening the safari web view externally so that it will be able to share the cookies

This commit is contained in:
Mauro Romito
2023-08-25 13:02:06 +02:00
parent 489d65d912
commit 9e50bc89ba
2 changed files with 2 additions and 3 deletions

View File

@@ -7791,7 +7791,7 @@ public class VectorL10n: NSObject {
public static var settingsLinks: String {
return VectorL10n.tr("Vector", "settings_links")
}
/// Manage
/// Manage account
public static var settingsManageAccountAction: String {
return VectorL10n.tr("Vector", "settings_manage_account_action")
}

View File

@@ -3922,8 +3922,7 @@ ChangePasswordCoordinatorBridgePresenterDelegate>
{
NSURL *url = [NSURL URLWithString: self.mainSession.homeserverWellknown.authentication.account];
if (url) {
SFSafariViewController *accountVC = [[SFSafariViewController alloc] initWithURL: url];
[self presentViewController:accountVC animated:YES completion:nil];
[UIApplication.sharedApplication openURL:url options:@{} completionHandler:nil];
}
}