func checkInternetConnection() { let internetConnected = Reachability.isConnectedToNetwork() if !internetConnected { print("no internet") self.showToast(message: "no internet") } }
func checkInternetConnection() { let internetConnected = Reachability.isConnectedToNetwork() if !internetConnected { print("no internet") self.showToast(message: "no internet") } }