summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorTobias Järvelöv <tobias.jarvelov@mullvad.net>2025-05-06 15:08:32 +0200
committerSebastian Holmin <sebastian.holmin@mullvad.net>2025-05-28 13:25:32 +0200
commitfd2705a92afc9c0e9ae2dfe56e65d0cdc71318d1 (patch)
tree0fb44af2f0a3da07030837c4a82aae6c4bd83db6
parent51a9c434a689846bfa1e59381cc50bc46ce491ae (diff)
downloadmullvadvpn-fd2705a92afc9c0e9ae2dfe56e65d0cdc71318d1.tar.xz
mullvadvpn-fd2705a92afc9c0e9ae2dfe56e65d0cdc71318d1.zip
Use correct button when blocked in the initial state
-rw-r--r--desktop/packages/mullvad-vpn/src/renderer/components/views/app-upgrade/components/footer/components/initial-footer/components/connection-blocked/ConnectionBlocked.tsx12
1 files changed, 5 insertions, 7 deletions
diff --git a/desktop/packages/mullvad-vpn/src/renderer/components/views/app-upgrade/components/footer/components/initial-footer/components/connection-blocked/ConnectionBlocked.tsx b/desktop/packages/mullvad-vpn/src/renderer/components/views/app-upgrade/components/footer/components/initial-footer/components/connection-blocked/ConnectionBlocked.tsx
index aefc17fbe7..36d1ae56f8 100644
--- a/desktop/packages/mullvad-vpn/src/renderer/components/views/app-upgrade/components/footer/components/initial-footer/components/connection-blocked/ConnectionBlocked.tsx
+++ b/desktop/packages/mullvad-vpn/src/renderer/components/views/app-upgrade/components/footer/components/initial-footer/components/connection-blocked/ConnectionBlocked.tsx
@@ -1,23 +1,21 @@
import { messages } from '../../../../../../../../../../shared/gettext';
import { Flex } from '../../../../../../../../../lib/components';
import { ConnectionBlockedLabel } from '../../../../../connection-blocked-label';
-import { DownloadProgress } from '../../../../../download-progress';
-import { LaunchInstallerButton } from '../../../../../launch-installer-button';
+import { UpgradeButton } from '../../../../../upgrade-button';
export function ConnectionBlocked() {
return (
<Flex $padding="large" $flexDirection="column">
<Flex $gap="medium" $flexDirection="column" $margin={{ bottom: 'medium' }}>
<ConnectionBlockedLabel />
- <DownloadProgress />
</Flex>
<Flex $flexDirection="column">
- <LaunchInstallerButton disabled>
+ <UpgradeButton disabled>
{
- // TRANSLATORS: Button text to install an update
- messages.pgettext('app-upgrade-view', 'Install update')
+ // TRANSLATORS: Button text to download and install an update
+ messages.pgettext('app-upgrade-view', 'Download & install')
}
- </LaunchInstallerButton>
+ </UpgradeButton>
</Flex>
</Flex>
);