OnBoarding: Fix deploy key page url

This commit is contained in:
Vishesh Handa
2019-01-17 14:37:30 +01:00
parent 370cce523d
commit 49e775203f

View File

@ -245,7 +245,7 @@ class OnBoardingScreenState extends State<OnBoardingScreen> {
}
var repoName =
_gitCloneUrl.substring(_gitCloneUrl.lastIndexOf(":"), lastIndex);
_gitCloneUrl.substring(_gitCloneUrl.lastIndexOf(":") + 1, lastIndex);
final gitHubUrl = 'https://github.com/' + repoName + '/settings/keys/new';
final gitLabUrl = 'https://gitlab.com/' + repoName + '/settings/repository';