mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2025-01-06 09:43:40 +01:00
Merge remote-tracking branch 'upstream/main' into develop
This commit is contained in:
commit
2759512a2a
2 changed files with 8 additions and 13 deletions
|
@ -61,34 +61,27 @@ class LocalSettingsNavigation extends React.PureComponent {
|
||||||
active={index === 3}
|
active={index === 3}
|
||||||
index={3}
|
index={3}
|
||||||
onNavigate={onNavigate}
|
onNavigate={onNavigate}
|
||||||
icon='filter'
|
icon='angle-double-up'
|
||||||
title={intl.formatMessage(messages.filters)}
|
title={intl.formatMessage(messages.collapsed)}
|
||||||
/>
|
/>
|
||||||
<LocalSettingsNavigationItem
|
<LocalSettingsNavigationItem
|
||||||
active={index === 4}
|
active={index === 4}
|
||||||
index={4}
|
index={4}
|
||||||
onNavigate={onNavigate}
|
onNavigate={onNavigate}
|
||||||
icon='angle-double-up'
|
|
||||||
title={intl.formatMessage(messages.collapsed)}
|
|
||||||
/>
|
|
||||||
<LocalSettingsNavigationItem
|
|
||||||
active={index === 5}
|
|
||||||
index={5}
|
|
||||||
onNavigate={onNavigate}
|
|
||||||
icon='image'
|
icon='image'
|
||||||
title={intl.formatMessage(messages.media)}
|
title={intl.formatMessage(messages.media)}
|
||||||
/>
|
/>
|
||||||
<LocalSettingsNavigationItem
|
<LocalSettingsNavigationItem
|
||||||
active={index === 6}
|
active={index === 5}
|
||||||
href={ preferencesLink }
|
href={ preferencesLink }
|
||||||
index={6}
|
index={5}
|
||||||
icon='cog'
|
icon='cog'
|
||||||
title={intl.formatMessage(messages.preferences)}
|
title={intl.formatMessage(messages.preferences)}
|
||||||
/>
|
/>
|
||||||
<LocalSettingsNavigationItem
|
<LocalSettingsNavigationItem
|
||||||
active={index === 7}
|
active={index === 6}
|
||||||
className='close'
|
className='close'
|
||||||
index={7}
|
index={6}
|
||||||
onNavigate={onClose}
|
onNavigate={onClose}
|
||||||
icon='times'
|
icon='times'
|
||||||
title={intl.formatMessage(messages.close)}
|
title={intl.formatMessage(messages.close)}
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
// Copied from emoji-mart for consistency with emoji picker and since
|
// Copied from emoji-mart for consistency with emoji picker and since
|
||||||
// they don't export the icons in the package
|
// they don't export the icons in the package
|
||||||
export const loupeIcon = (
|
export const loupeIcon = (
|
||||||
|
|
Loading…
Reference in a new issue