Skip to content

Commit

Permalink
MuditaCenterPrereleaseEnabled as Feature Flag removed
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarski committed Sep 27, 2023
1 parent bcd7e0a commit e5f5a1c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion packages/app/src/__deprecated__/main/autoupdate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export default (win: BrowserWindow): void => {
})
autoUpdater.logger = logger
autoUpdater.autoDownload = false
autoUpdater.allowPrerelease = flags.get(Feature.MuditaCenterPrereleaseEnabled)
autoUpdater.autoInstallOnAppQuit = false

autoUpdater.on("update-available", ({ version }) => {
Expand Down
1 change: 0 additions & 1 deletion packages/app/src/feature-flags/constants/feature.enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ export enum Feature {
MessagesThreadCallsEnabled = "messages-thread-calls-enabled",
MessagesCallFromThreadEnabled = "messages-call-from-thread-enabled",
MessagesDraftStatus = "messages-draft-status",
MuditaCenterPrereleaseEnabled = "mudita-center-prerelease-enabled",
ContactForwardEnabled = "contact-forward-enabled",
ContactBlockingEnabled = "contact-blocking-enabled",
ContactPhoneFieldIconsEnabled = "contact-phone-field-icons-enabled",
Expand Down
7 changes: 0 additions & 7 deletions packages/app/src/feature-flags/features/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
import { EnvironmentConfig } from "App/feature-flags/types"
import { Feature, Environment } from "App/feature-flags/constants"

const muditaCenterPrereleaseEnabled =
process.env.MUDITA_CENTER_PRERELEASE_ENABLED === "1"
const loggerEnabled = process.env.DEV_DEVICE_LOGGER_ENABLED !== "0"

export const features: EnvironmentConfig = {
Expand All @@ -31,11 +29,6 @@ export const features: EnvironmentConfig = {
[Environment.Production]: false,
[Environment.AlphaProduction]: true,
},
[Feature.MuditaCenterPrereleaseEnabled]: {
[Environment.Development]: true,
[Environment.Production]: muditaCenterPrereleaseEnabled,
[Environment.AlphaProduction]: true,
},
[Feature.MessagesThreadCallsEnabled]: {
[Environment.Development]: true,
[Environment.Production]: false,
Expand Down

0 comments on commit e5f5a1c

Please sign in to comment.