Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
chore/offband-rebrand
ericszimmermann 4 months ago committed by GitHub
parent 87d11c2e6b
commit b88e5e647a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -889,7 +889,10 @@ List<_PathHop> _buildPathHops(
LatLng? _resolvePosition(Contact? contact) {
if (contact == null) return null;
if (!contact.hasLocation) return null;
return LatLng(contact.latitude!, contact.longitude!);
final latitude = contact.latitude;
final longitude = contact.longitude;
if (latitude == null || longitude == null) return null;
return LatLng(latitude, longitude);
}
String _formatPrefix(int prefix) {

Loading…
Cancel
Save

Powered by TurnKey Linux.