Skip to content

Commit cc887ee

Browse files
authored
fix(extension): [LW-11512] prevent midnight banner display (#1433)
1 parent 7914e40 commit cc887ee

File tree

6 files changed

+6
-4
lines changed

6 files changed

+6
-4
lines changed

apps/browser-extension-wallet/.env.defaults

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ USE_MULTI_DELEGATION_STAKING_FILTERS=false
2929
USE_ROS_STAKING_COLUMN=false
3030
USE_FOOR_TOPUP=true
3131
USE_ADVANCED_RECEIVE=true
32-
3332
USE_POSTHOG_ANALYTICS_FOR_OPTED_OUT=false
3433
USE_MULTI_WALLET=true
3534
USE_SHARED_WALLET=false
3635
USE_MESSAGE_SIGNING=true
36+
USE_GLACIER_DROP=false
3737

3838
# In App URLs
3939
CATALYST_GOOGLE_PLAY_URL=https://play.google.com/store/apps/details?id=io.iohk.vitvoting

apps/browser-extension-wallet/.env.developerpreview

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ USE_POSTHOG_ANALYTICS_FOR_OPTED_OUT=false
3333
USE_MULTI_WALLET=true
3434
USE_SHARED_WALLET=false
3535
USE_MESSAGE_SIGNING=true
36+
USE_GLACIER_DROP=false
3637

3738
# In App URLs
3839
CATALYST_GOOGLE_PLAY_URL=https://play.google.com/store/apps/details?id=io.iohk.vitvoting

apps/browser-extension-wallet/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ USE_MULTI_DELEGATION_STAKING_FILTERS=false
3030
USE_ROS_STAKING_COLUMN=false
3131
USE_FOOR_TOPUP=true
3232
USE_MESSAGE_SIGNING=false
33+
USE_GLACIER_DROP=false
3334

3435
# In App URLs
3536
CATALYST_GOOGLE_PLAY_URL=https://play.google.com/store/apps/details?id=io.iohk.vitvoting

apps/browser-extension-wallet/src/views/browser-view/features/assets/components/MidnightEventBanner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export const MidnightEventBanner = (): JSX.Element => {
4343
}, []);
4444

4545
const shouldHide = () => {
46-
if (process.env.USE_MESSAGE_SIGNING !== 'true') {
46+
if (process.env.USE_GLACIER_DROP !== 'true') {
4747
return true;
4848
}
4949

apps/browser-extension-wallet/src/views/browser-view/features/settings/components/SettingsLayout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export const SettingsLayout = ({
2121

2222
const sidePanelContent = (
2323
<div>
24-
{process.env.USE_MESSAGE_SIGNING === 'true' ? (
24+
{process.env.USE_GLACIER_DROP === 'true' ? (
2525
<Box mb="$32">
2626
<MidnightPreLaunchSettingsBanner bannerImageUrl={MidnightPreLaunchBannerImage} />
2727
</Box>

apps/browser-extension-wallet/src/views/browser-view/features/settings/components/SettingsWalletBase.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export const SettingsWalletBase = <AdditionalDrawers extends string>({
171171
<Title level={5} className={styles.heading5} data-testid="wallet-settings-heading">
172172
{t('browserView.settings.wallet.title')}
173173
</Title>
174-
{process.env.USE_MESSAGE_SIGNING === 'true' ? (
174+
{process.env.USE_GLACIER_DROP === 'true' ? (
175175
<SettingsLink
176176
description={t('browserView.settings.wallet.midnight.prelaunch.description')}
177177
data-testid="settings-wallet-midnight-prelaunch-link"

0 commit comments

Comments
 (0)