mirror of
https://github.com/pd4d10/git-touch.git
synced 2026-04-29 02:52:20 -05:00
build: update url_launcher
This commit is contained in:
@@ -742,7 +742,7 @@ class AuthModel with ChangeNotifier {
|
||||
final repoScope = publicOnly ? 'public_repo' : 'repo';
|
||||
final scope = Uri.encodeComponent(
|
||||
['user', repoScope, 'read:org', 'notifications'].join(','));
|
||||
launchUrl(
|
||||
launchStringUrl(
|
||||
'https://github.com/login/oauth/authorize?client_id=$clientId&redirect_uri=gittouch://login&scope=$scope&state=$_oauthState',
|
||||
);
|
||||
}
|
||||
|
||||
@@ -259,7 +259,7 @@ class ThemeModel with ChangeNotifier {
|
||||
replace: replace,
|
||||
);
|
||||
} else {
|
||||
launchUrl(url);
|
||||
launchStringUrl(url);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user