diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-08-20 12:09:24 +0200 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-08-25 09:11:51 +0200 |
| commit | 037600cd639fe2d54daa22d059e4d280bd6bf45a (patch) | |
| tree | f65235c11abf06eceb9a67b641914944c4d2645f /gui | |
| parent | bab69cad5af5734bd5b9b218c388f21e69e2b120 (diff) | |
| download | mullvadvpn-037600cd639fe2d54daa22d059e4d280bd6bf45a.tar.xz mullvadvpn-037600cd639fe2d54daa22d059e4d280bd6bf45a.zip | |
Switch to always using icon-close-down for dismiss navigations
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/src/renderer/components/NavigationBar.tsx | 6 |
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} /> |
