Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

fix(mobile): keep the app icon light in dark mode

Leoe077bd882a73
diff --git a/apps/mobile/app.config.ts b/apps/mobile/app.config.ts
index ee7e25362..bc16e5341 100644
--- a/apps/mobile/app.config.ts
+++ b/apps/mobile/app.config.ts
@@ -58,7 +58,10 @@ const DEVELOPMENT_ASSETS = {
const RELEASE_ASSETS = {
appIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng),
- iosIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng),
+ iosIcon: {
+ light: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng),
+ dark: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng),
+ },
splashIcon: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng),
androidAdaptiveForeground: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng),
androidAdaptiveBackgroundColor: "#F4F1EA",
diff --git a/apps/mobile/src/appConfigIdentity.test.ts b/apps/mobile/src/appConfigIdentity.test.ts
index 13765aefc..5eeda7405 100644
--- a/apps/mobile/src/appConfigIdentity.test.ts
+++ b/apps/mobile/src/appConfigIdentity.test.ts
@@ -18,4 +18,14 @@ describe("mobile release ownership", () => {
expect(config).not.toContain("d763fcb8-d37c-41ea-a773-b54a0ab4a454");
expect(config).not.toContain('owner: "pingdotgg"');
});
+
+ it("keeps the release icon unchanged in dark appearance", () => {
+ const config = NodeFS.readFileSync(
+ NodePath.resolve(import.meta.dirname, "../app.config.ts"),
+ "utf8",
+ );
+
+ expect(config).toContain("light: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng)");
+ expect(config).toContain("dark: fromRepoRoot(BRAND_ASSET_PATHS.productionIosIconPng)");
+ });
});