animated icons fixed
This commit is contained in:
parent
5db16471d9
commit
79b5837991
|
@ -7015,7 +7015,7 @@
|
|||
this.props.badge = this.props.state ? LibraryModules.UnreadGuildUtils.getMentionCount(this.props.guild.id) : 0;
|
||||
this.props.audio = this.props.state ? (LibraryModules.ChannelStore.getChannel(LibraryModules.LastChannelStore.getVoiceChannelId()) || {}).guild_id == this.props.guild.id : false;
|
||||
this.props.video = this.props.state ? (LibraryModules.StreamUtils.getActiveStream() || {}).guildId == this.props.guild.id : false;
|
||||
this.props.animatable = this.props.state ? this.props.guild.features && this.props.guild.features.has(BDFDB.DiscordConstants.GuildFeatures.ANIMATED_ICON) : false;
|
||||
this.props.animatable = this.props.state ? LibraryModules.IconUtils.hasAnimatedGuildIcon(this.props.guild) : false;
|
||||
var isDraggedGuild = this.props.draggingGuildId === this.props.guild.id;
|
||||
var Guild = isDraggedGuild ? BDFDB.ReactUtils.createElement("div", {
|
||||
children: BDFDB.ReactUtils.createElement(LibraryComponents.GuildComponents.DragPlaceholder, {})
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue