EvenHub compatibility for iOS

This commit is contained in:
James Babcock committed 2026-09-19 00:48:26 -07:00
1 parent 617cdc39eb
commit 7e58c7c05f
40 files changed
+629 -176

No files matched your search

+2 -2
View File
@@ -80,7 +80,7 @@ class EvenHubCompassRouter {
});
}
if (!this.enabled) {
setCompassEnabled(true);
setCompassEnabled(true, "evenhub");
this.enabled = true;
// Uses location only if the wearer already granted it; an app turning
// on the compass is not a reason to raise a system permission prompt.
@@ -88,7 +88,7 @@ class EvenHubCompassRouter {
}
} else {
if (this.enabled) {
setCompassEnabled(false);
setCompassEnabled(false, "evenhub");
this.enabled = false;
}
this.unsubscribe?.();