forked from Blendman974/faceclaw
Don't show the Compass app on hardware (ie G1s) that can't support it
This commit is contained in:
1 parent
38c52ebc31
commit
0cc263c5d2
16 files changed
+202
-49
No files matched your search
@@ -1,3 +1,4 @@
|
||||
import { glassesHaveCompass } from "../../ui/dashboard-settings";
|
||||
import { type AppDefinition } from "../app-definition";
|
||||
import { COMPASS_SURFACE_ID, COMPASS_WINDOW_ID, createCompassAppWindow } from "./compass-app";
|
||||
|
||||
@@ -5,6 +6,7 @@ const compassApp: AppDefinition = {
|
||||
appId: "compass",
|
||||
title: "Compass",
|
||||
icon: "compass",
|
||||
isSupported: glassesHaveCompass,
|
||||
launch: (ctx) => ctx.launchInProcessApp(COMPASS_WINDOW_ID, COMPASS_SURFACE_ID, createCompassAppWindow),
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user