Right now it does two things before showing the loading symbol: Check if the url is a valid format and tries to connect to the URL. If both succeed then it starts loading.
Instead, make it so that it checks if URL is valid format, but the start loading. Then if the URL cannot connect then go back to homepage with an error.
Right now it does two things before showing the loading symbol: Check if the url is a valid format and tries to connect to the URL. If both succeed then it starts loading.
Instead, make it so that it checks if URL is valid format, but the start loading. Then if the URL cannot connect then go back to homepage with an error.