Browse Source

[Glitch] Replace unlock-alt icon with unlock

Port 6513f6c953 to glitch-soc
closed-social-glitch-2
Thibaut Girka 5 years ago
parent
commit
2e93f87c9f
6 changed files with 7 additions and 7 deletions
  1. +1
    -1
      app/javascript/flavours/glitch/components/account.js
  2. +1
    -1
      app/javascript/flavours/glitch/components/domain.js
  3. +1
    -1
      app/javascript/flavours/glitch/components/status_visibility_icon.js
  4. +1
    -1
      app/javascript/flavours/glitch/features/account/components/header.js
  5. +1
    -1
      app/javascript/flavours/glitch/features/composer/options/index.js
  6. +2
    -2
      app/javascript/flavours/glitch/features/composer/publisher/index.js

+ 1
- 1
app/javascript/flavours/glitch/components/account.js View File

@ -85,7 +85,7 @@ export default class Account extends ImmutablePureComponent {
if (requested) {
buttons = <IconButton disabled icon='hourglass' title={intl.formatMessage(messages.requested)} />;
} else if (blocking) {
buttons = <IconButton active icon='unlock-alt' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.handleBlock} />;
buttons = <IconButton active icon='unlock' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.handleBlock} />;
} else if (muting) {
let hidingNotificationsButton;
if (account.getIn(['relationship', 'muting_notifications'])) {

+ 1
- 1
app/javascript/flavours/glitch/components/domain.js View File

@ -32,7 +32,7 @@ export default class Account extends ImmutablePureComponent {
</span>
<div className='domain__buttons'>
<IconButton active icon='unlock-alt' title={intl.formatMessage(messages.unblockDomain, { domain })} onClick={this.handleDomainUnblock} />
<IconButton active icon='unlock' title={intl.formatMessage(messages.unblockDomain, { domain })} onClick={this.handleDomainUnblock} />
</div>
</div>
</div>

+ 1
- 1
app/javascript/flavours/glitch/components/status_visibility_icon.js View File

@ -25,7 +25,7 @@ export default class VisibilityIcon extends ImmutablePureComponent {
const visibilityClass = {
public: 'globe',
unlisted: 'unlock-alt',
unlisted: 'unlock',
private: 'lock',
direct: 'envelope',
}[visibility];

+ 1
- 1
app/javascript/flavours/glitch/features/account/components/header.js View File

@ -88,7 +88,7 @@ export default class Header extends ImmutablePureComponent {
} else if (account.getIn(['relationship', 'blocking'])) {
actionBtn = (
<div className='account--action-button'>
<IconButton size={26} icon='unlock-alt' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.props.onBlock} />
<IconButton size={26} icon='unlock' title={intl.formatMessage(messages.unblock, { name: account.get('username') })} onClick={this.props.onBlock} />
</div>
);
}

+ 1
- 1
app/javascript/flavours/glitch/features/composer/options/index.js View File

@ -197,7 +197,7 @@ export default class ComposerOptions extends React.PureComponent {
text: <FormattedMessage {...messages.public_short} />,
},
unlisted: {
icon: 'unlock-alt',
icon: 'unlock',
meta: <FormattedMessage {...messages.unlisted_long} />,
name: 'unlisted',
text: <FormattedMessage {...messages.unlisted_short} />,

+ 2
- 2
app/javascript/flavours/glitch/features/composer/publisher/index.js View File

@ -58,7 +58,7 @@ export default function ComposerPublisher ({
<Icon
icon={{
public: 'globe',
unlisted: 'unlock-alt',
unlisted: 'unlock',
private: 'lock',
direct: 'envelope',
}[sideArm]}
@ -82,7 +82,7 @@ export default function ComposerPublisher ({
direct: 'envelope',
private: 'lock',
public: 'globe',
unlisted: 'unlock-alt',
unlisted: 'unlock',
}[privacy]}
/>
{' '}

Loading…
Cancel
Save