Skip to content

Commit

Permalink
upgrade to flutter_compass v0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tlserver committed Sep 13, 2023
1 parent 8637377 commit b757789
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/data_stream_factory.dart
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,6 @@ class LocationMarkerDataStreamFactory {
/// Create a heading stream which is used as default value of
/// [CurrentLocationLayer.headingStream].
Stream<CompassEvent?> defaultHeadingStreamSource() {
return !kIsWeb ? FlutterCompass.events! : const Stream.empty();
return FlutterCompass.events!;
}
}

0 comments on commit b757789

Please sign in to comment.