mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-30 01:39:04 +01:00
Change emoji picker icon to :blobCat:.
This commit is contained in:
parent
cef17863c9
commit
8d34a2c2f5
2 changed files with 6 additions and 4 deletions
|
@ -471,9 +471,10 @@ class EmojiPickerDropdown extends React.PureComponent {
|
||||||
<div ref={this.setTargetRef} className='emoji-button' title={title} aria-label={title} aria-expanded={active} role='button' onClick={this.onToggle} onKeyDown={this.onToggle} tabIndex={0}>
|
<div ref={this.setTargetRef} className='emoji-button' title={title} aria-label={title} aria-expanded={active} role='button' onClick={this.onToggle} onKeyDown={this.onToggle} tabIndex={0}>
|
||||||
{button || <img
|
{button || <img
|
||||||
className={classNames('emojione', { 'pulse-loading': active && loading })}
|
className={classNames('emojione', { 'pulse-loading': active && loading })}
|
||||||
alt='🙂'
|
alt='blobCat emoji'
|
||||||
src={`${assetHost}/emoji/1f602.svg`}
|
src='https://catcatnya.com/custom_emojis/images/000/002/356/static/blobCat.png'
|
||||||
/>}
|
/>}
|
||||||
|
{/* TODO: Fetch :blobCat: From custom_emojis directly */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Overlay show={active} placement={placement} target={this.findTarget}>
|
<Overlay show={active} placement={placement} target={this.findTarget}>
|
||||||
|
|
|
@ -389,9 +389,10 @@ class EmojiPickerDropdown extends React.PureComponent {
|
||||||
<div ref={this.setTargetRef} className='emoji-button' title={title} aria-label={title} aria-expanded={active} role='button' onClick={this.onToggle} onKeyDown={this.onToggle} tabIndex={0}>
|
<div ref={this.setTargetRef} className='emoji-button' title={title} aria-label={title} aria-expanded={active} role='button' onClick={this.onToggle} onKeyDown={this.onToggle} tabIndex={0}>
|
||||||
{button || <img
|
{button || <img
|
||||||
className={classNames('emojione', { 'pulse-loading': active && loading })}
|
className={classNames('emojione', { 'pulse-loading': active && loading })}
|
||||||
alt='🙂'
|
alt='blobCat emoji'
|
||||||
src={`${assetHost}/emoji/1f602.svg`}
|
src='https://catcatnya.com/custom_emojis/images/000/002/356/static/blobCat.png'
|
||||||
/>}
|
/>}
|
||||||
|
{/* TODO: Fetch :blobCat: From custom_emojis directly */}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Overlay show={active} placement={placement} target={this.findTarget}>
|
<Overlay show={active} placement={placement} target={this.findTarget}>
|
||||||
|
|
Loading…
Reference in a new issue