Use chevron-right for collapsed state

Summary: I find this much more intuitive that it's unexpanded, than a down arrow.

Reviewed By: mweststrate

Differential Revision: D19429007

fbshipit-source-id: 7b414aeee846a864641941b6837770252cb298de
This commit is contained in:
John Knox
2020-01-16 08:14:25 -08:00
committed by Facebook Github Bot
parent c17cd0f11e
commit ce96e5efc2

View File

@@ -119,7 +119,7 @@ const SidebarSection: React.FC<{
{typeof title === 'function' ? title(collapsed) : title}
{level < 3 && children && (
<Glyph
name={collapsed ? 'chevron-down' : 'chevron-up'}
name={collapsed ? 'chevron-right' : 'chevron-up'}
size={12}
color={color}
/>
@@ -520,7 +520,7 @@ const PluginList = memo(function PluginList({
<Glyph
color={colors.macOSTitleBarIconBlur}
size={8}
name={collapsed ? 'chevron-down' : 'chevron-up'}
name={collapsed ? 'chevron-right' : 'chevron-up'}
/>
</ShowMoreButton>
)}>