Skip to content

Commit 5051091

Browse files
committed
Location crash in background
1 parent 741dc82 commit 5051091

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/location_dto.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ class LocationDto {
4040
json[Keys.ARG_HEADING],
4141
json[Keys.ARG_TIME],
4242
isLocationMocked,
43-
json[Keys.ARG_PROVIDER],
43+
json.containsKey(Keys.ARG_PROVIDER) ? json[Keys.ARG_PROVIDER] : "",
4444
);
4545
}
4646

0 commit comments

Comments
 (0)