forked from Blendman974/faceclaw
Add long-press and mic buttons to preview form; fix canula-age display in Nightscout when outside 4-day window
This commit is contained in:
1 parent
93d98965de
commit
57d8d2fc79
4 files changed
+70
-11
No files matched your search
@@ -437,6 +437,14 @@ export class MainViewModel extends Observable {
|
||||
await dashboardController.injectSyntheticRingInput("click");
|
||||
}
|
||||
|
||||
async onSyntheticLongPressTap(): Promise<void> {
|
||||
await dashboardController.injectSyntheticRingInput("long-press");
|
||||
}
|
||||
|
||||
async onSyntheticMicTap(): Promise<void> {
|
||||
await dashboardController.injectSyntheticRingInput("wakeword");
|
||||
}
|
||||
|
||||
private appendLog(line: string): void {
|
||||
const stamp = new Date().toISOString().slice(11, 19);
|
||||
this.log = this.log ? `${this.log}\n[${stamp}] ${line}` : `[${stamp}] ${line}`;
|
||||
|
||||
Reference in new issue
Block a user