mirror of
https://codeberg.org/comaps/comaps
synced 2026-01-06 04:24:29 +00:00
[ios] Switched OSM Oauth to using a link
Signed-off-by: Yannik Bloscheck <git@yannikbloscheck.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
126d4f6373
commit
090b7c21fc
@@ -86,7 +86,8 @@ using namespace osm_auth_ios;
|
||||
{
|
||||
[self performOnlineAction:^
|
||||
{
|
||||
[self performSegueWithIdentifier:kOSMAuthSegue sender:self.loginOSMButton];
|
||||
|
||||
[self openUrl:@(OsmOAuth::ServerAuth().BuildOAuth2Url().c_str()) externally:NO skipEncoding:YES];
|
||||
}];
|
||||
}
|
||||
|
||||
@@ -94,7 +95,7 @@ using namespace osm_auth_ios;
|
||||
{
|
||||
[self performOnlineAction:^
|
||||
{
|
||||
[self openUrl:@(OsmOAuth::ServerAuth().GetRegistrationURL().c_str())];
|
||||
[self openUrl:@(OsmOAuth::ServerAuth().GetRegistrationURL().c_str()) externally:YES];
|
||||
}];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user