forked from Blendman974/faceclaw
Watch display shows if glasses are charging or silent mode
This commit is contained in:
1 parent
ed8302bc6b
commit
6cd7d5fff9
10 files changed
+122
-20
No files matched your search
@@ -766,10 +766,7 @@ export class MainViewModel extends Observable {
|
||||
|
||||
/** What the next gesture lands on, as the watch pad shows it. */
|
||||
get padFocusLine(): string {
|
||||
if (this.phase !== "connected" && this.phase !== "charging") return "Glasses disconnected";
|
||||
if (!shell.isScreenOn()) return "Display off";
|
||||
const foreground = shell.getForegroundApp();
|
||||
return foreground ? foreground.title : "Launcher";
|
||||
return dashboardController.glassesDisplayLabel();
|
||||
}
|
||||
|
||||
private refreshPadFocusLine(): void {
|
||||
|
||||
Reference in new issue
Block a user