Add link to github in app drawer
This commit is contained in:
11
lib/utils.dart
Normal file
11
lib/utils.dart
Normal file
@ -0,0 +1,11 @@
|
||||
part of 'main.dart';
|
||||
|
||||
class haUtils {
|
||||
static void launchURL(String url) async {
|
||||
if (await canLaunch(url)) {
|
||||
await launch(url);
|
||||
} else {
|
||||
TheLogger.log("Error", "Could not launch $url");
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user