Skip to content

Commit c4828b4

Browse files
committed
➖ print statement
1 parent 2f0f26f commit c4828b4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

lib/utils/launchers.dart

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// A utility file to handle URL launching.
2-
3-
import 'package:flutter/foundation.dart';
41
import 'package:url_launcher/url_launcher.dart';
52

63
// The URL to be opened.
@@ -10,10 +7,6 @@ final Uri registrationUri = Uri.parse('https://quiet-pup-summary.ngrok-free.app/
107
// It checks if the URL can be launched before attempting to do so.
118
Future<void> launchUrlInBrowser() async {
129
if (!await launchUrl(registrationUri)) {
13-
// If the URL cannot be launched, throw an exception.
14-
if (kDebugMode) {
15-
print('Could not launch $registrationUri');
16-
}
1710
throw Exception('Could not launch $registrationUri');
1811
}
1912
}

0 commit comments

Comments
 (0)