summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
Diffstat (limited to 'gui/src')
-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}
/>