Skip to content

Commit 5973fec

Browse files
committed
emoji [nfc]: Read _popularCandidates only through public getter
Later in this series, we'll make _popularCandidates nullable, as a caching implementation detail behind popularEmojiCandidates. (Both will become non-static.)
1 parent bbbaa53 commit 5973fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/model/emoji.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ class EmojiStoreImpl extends PerAccountStoreBase with EmojiStore {
320320

321321
// Include the "popular" emoji, in their canonical order
322322
// relative to each other.
323-
results.addAll(_popularCandidates);
323+
results.addAll(EmojiStore.popularEmojiCandidates);
324324

325325
final namesOverridden = {
326326
for (final emoji in activeRealmEmoji) emoji.name,

0 commit comments

Comments
 (0)