summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorOskar Nyberg <oskar@mullvad.net>2021-08-20 12:09:24 +0200
committerOskar Nyberg <oskar@mullvad.net>2021-08-25 09:11:51 +0200
commit037600cd639fe2d54daa22d059e4d280bd6bf45a (patch)
treef65235c11abf06eceb9a67b641914944c4d2645f
parentbab69cad5af5734bd5b9b218c388f21e69e2b120 (diff)
downloadmullvadvpn-037600cd639fe2d54daa22d059e4d280bd6bf45a.tar.xz
mullvadvpn-037600cd639fe2d54daa22d059e4d280bd6bf45a.zip
Switch to always using icon-close-down for dismiss navigations
-rw-r--r--gui/src/renderer/components/NavigationBar.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/gui/src/renderer/components/NavigationBar.tsx b/gui/src/renderer/components/NavigationBar.tsx
index 83a163f9bf..65a1e991ad 100644
--- a/gui/src/renderer/components/NavigationBar.tsx
+++ b/gui/src/renderer/components/NavigationBar.tsx
@@ -194,16 +194,12 @@ interface ICloseBarItemProps {
}
export function CloseBarItem(props: ICloseBarItemProps) {
- // Use the arrow down icon on Linux, to avoid confusion with the close button in the window
- // title bar.
- const unpinnedWindow = useSelector((state) => state.settings.guiSettings.unpinnedWindow);
- const iconName = unpinnedWindow ? 'icon-close-down' : 'icon-close';
return (
<StyledCloseBarItemButton aria-label={messages.gettext('Close')} onClick={props.action}>
<StyledCloseBarItemIcon
height={24}
width={24}
- source={iconName}
+ source={'icon-close-down'}
tintColor={colors.white60}
tintHoverColor={colors.white80}
/>