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, 5 insertions, 1 deletions
diff --git a/gui/src/renderer/components/NavigationBar.tsx b/gui/src/renderer/components/NavigationBar.tsx
index 82a8ed3dbd..f5d8fa82f4 100644
--- a/gui/src/renderer/components/NavigationBar.tsx
+++ b/gui/src/renderer/components/NavigationBar.tsx
@@ -447,9 +447,13 @@ interface ICloseBarItemProps {
export class CloseBarItem extends Component<ICloseBarItemProps> {
public render() {
+ // Use the arrow down icon on Linux, to avoid confusion with the close button in the window
+ // title bar.
+ const iconName = process.platform === 'linux' ? 'icon-close-down' : 'icon-close';
+
return (
<Button style={[styles.closeBarItem.default]} onPress={this.props.action}>
- <ImageView height={24} width={24} style={[styles.closeBarItem.icon]} source="icon-close" />
+ <ImageView height={24} width={24} style={[styles.closeBarItem.icon]} source={iconName} />
</Button>
);
}