Subscriptions: use ringing bell for subscribed

datepicker-css
Alex Gleason 2021-06-27 11:35:53 -05:00
rodzic 6f4aeac0ba
commit e74ee136ee
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -53,7 +53,7 @@ class SubscriptionButton extends ImmutablePureComponent {
if (account.getIn(['relationship', 'requested']) || account.getIn(['relationship', 'following'])) {
subscriptionButton = (<Button className={classNames('subscription-button', subscribing && 'button-active')} style={{ padding: 0, lineHeight: '18px' }} title={intl.formatMessage(account.getIn(['relationship', 'subscribing']) ? messages.unsubscribe : messages.subscribe, { name: account.get('username') })} onClick={this.handleSubscriptionToggle}>
<Icon id={account.getIn(['relationship', 'subscribing']) ? 'bell' : 'bell-slash'} style={{ margin: 0, fontSize: 18 }} />
<Icon id={account.getIn(['relationship', 'subscribing']) ? 'bell-ringing' : 'bell'} style={{ margin: 0, fontSize: 18 }} />
</Button>);
}