Skip to content

Commit

Permalink
fix ref check on update builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Lexedia committed Oct 11, 2024
1 parent 622403f commit ec46e4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/src/builders/soundboard.dart
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@ class UpdateSoundboardSoundBuilder extends UpdateBuilder<SoundboardSound> {
Map<String, Object?> build() => {
'name': name,
if (volume != sentinelDouble) 'volume': volume,
if (emoji != sentinelEmoji) ..._makeEmojiMap(emoji),
if (!identical(emoji, sentinelEmoji)) ..._makeEmojiMap(emoji),
};
}

0 comments on commit ec46e4a

Please sign in to comment.