Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

fix[mobile]: ui for auto-update (#3094)

Peter Chinmand5dad9f8e0d3
diff --git a/js/app/packages/app/component/settings/Account.tsx b/js/app/packages/app/component/settings/Account.tsx
index b0fdbf56de..6ba6380733 100644
--- a/js/app/packages/app/component/settings/Account.tsx
+++ b/js/app/packages/app/component/settings/Account.tsx
@@ -13,6 +13,7 @@ import {
} from '@core/constant/allBlocks';
import {
DEV_MODE_ENV,
+ ENABLE_AUTO_UPDATE_UI,
ENABLE_EMAIL,
ENABLE_PROFILE_PICTURES,
} from '@core/constant/featureFlags';
@@ -260,7 +261,9 @@ export function Account() {
</div>
</Row>
- <BundleUpdateRow />
+ <Show when={ENABLE_AUTO_UPDATE_UI}>
+ <BundleUpdateRow />
+ </Show>
<Show when={ENABLE_EMAIL && (!emailActive() || DEV_MODE_ENV)}>
<Row label="Email">
diff --git a/js/app/packages/core/constant/featureFlags.ts b/js/app/packages/core/constant/featureFlags.ts
index 1dce18e413..f05a2e0c1c 100644
--- a/js/app/packages/core/constant/featureFlags.ts
+++ b/js/app/packages/core/constant/featureFlags.ts
@@ -337,3 +337,8 @@ export const ENABLE_INVITE_TEAM_ONBOARDING_OVERRIDE = DEV_MODE_ENV
export const ENABLE_TEAM_INVITE_TIERS_OVERRIDE = DEV_MODE_ENV
? true
: undefined;
+
+export const ENABLE_AUTO_UPDATE_UI = resolveFeatureFlag(
+ 'ENABLE_AUTO_UPDATE_UI',
+ false
+);