Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Commit

Permalink
fix(linux): throw out check with canLaunchUrl
Browse files Browse the repository at this point in the history
  • Loading branch information
Craftplacer committed Nov 2, 2023
1 parent 86b2ec7 commit b1bb6cc
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/kaiteki/lib/ui/auth/login/login_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -294,9 +294,6 @@ class _LoginScreenState extends ConsumerState<LoginScreen> {

(generatedUrl, extra) = await generateUrl(localUrl);

final canLaunch = await canLaunchUrl(generatedUrl);
if (!canLaunch) throw Exception("Invalid URL");

await launchUrl(generatedUrl, mode: LaunchMode.externalApplication);
setState(() => _oAuth = cancel);
},
Expand Down

0 comments on commit b1bb6cc

Please sign in to comment.