From 0d3648768cc455323be8cebfae81bf1d9b0fa5ce Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Tue, 26 May 2020 13:29:35 +0200 Subject: [PATCH] GitLab manual setup: Fix url GitLab seems to have changed the url to add a deploy key manually. --- lib/setup/screens.dart | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/setup/screens.dart b/lib/setup/screens.dart index ef3f2f42..d87d750e 100644 --- a/lib/setup/screens.dart +++ b/lib/setup/screens.dart @@ -427,12 +427,14 @@ class GitHostSetupScreenState extends State { final gitHubUrl = 'https://github.com/' + repoName + '/settings/keys/new'; final gitLabUrl = 'https://gitlab.com/' + repoName + - '/settings/repository/#js-deploy-keys-settings'; + '/-/settings/repository/#js-deploy-keys-settings'; try { if (_gitCloneUrl.startsWith("git@github.com:")) { + Log.i("Launching $gitHubUrl"); await launch(gitHubUrl); } else if (_gitCloneUrl.startsWith("git@gitlab.com:")) { + Log.i("Launching $gitLabUrl"); await launch(gitLabUrl); } } catch (err, stack) {