forked from Blendman974/faceclaw
Phone screen input shows gesture help for wake (and not random other gesture-help)
This commit is contained in:
1 parent
22c31f4240
commit
f01214f4a0
8 files changed
+73
-12
No files matched your search
@@ -33,6 +33,23 @@ export class RemoteControlsViewModel extends Observable {
|
||||
return this._controlsTab === "ring" ? "tab-button tab-button-selected" : "tab-button";
|
||||
}
|
||||
|
||||
/**
|
||||
* The watch face's status line reads "Display off": dim it and show the wake
|
||||
* gesture under it. The host overrides this and notifies padFocusClass and
|
||||
* padWakeHintVisibility when it changes.
|
||||
*/
|
||||
protected get padDisplayAsleep(): boolean {
|
||||
return false;
|
||||
}
|
||||
|
||||
get padFocusClass(): string {
|
||||
return this.padDisplayAsleep ? "pad-focus pad-focus-asleep" : "pad-focus";
|
||||
}
|
||||
|
||||
get padWakeHintVisibility(): "visible" | "collapse" {
|
||||
return this.padDisplayAsleep ? "visible" : "collapse";
|
||||
}
|
||||
|
||||
onSettingsTabTap(): void {
|
||||
this.setControlsTab("settings");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user