Skip to content

Commit

Permalink
fix problem with opening the webpage of locations
Browse files Browse the repository at this point in the history
  • Loading branch information
derqurps committed May 20, 2023
1 parent 8ee6214 commit c6ff449
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/src/screens/location_detail_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -324,10 +324,7 @@ void _launchWeb(String http) async {
if (http.startsWith('http')) {
webLaunchUri = Uri.parse(http);
} else {
webLaunchUri = Uri(
scheme: 'https',
path: http,
);
webLaunchUri = Uri.parse('http://$http');
}
_launchURL(webLaunchUri);
}
Expand Down

0 comments on commit c6ff449

Please sign in to comment.