Skip to content

Commit

Permalink
Setting continuous as standard mode for tracking
Browse files Browse the repository at this point in the history
  • Loading branch information
kloknibor committed Feb 9, 2025
1 parent 8eadeea commit 57be476
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/toga/hardware/location.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def on_change(self) -> OnLocationChangeHandler:
def on_change(self, handler: OnLocationChangeHandler) -> None:
self._on_change = wrapped_handler(self, handler)

def start_tracking(self, location_mode) -> None:
def start_tracking(self, location_mode=LocationMode.CONTINUOUS) -> None:
"""Start monitoring the user's location for changes.
An :any:`on_change` callback will be generated when the user's location
Expand Down

0 comments on commit 57be476

Please sign in to comment.