Skip to content

Commit fc5bd89

Browse files
chrisbobbegnprice
authored andcommitted
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 2fae1de commit fc5bd89

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
@@ -319,7 +319,7 @@ class EmojiStoreImpl extends PerAccountStoreBase with EmojiStore {
319319

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

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

0 commit comments

Comments
 (0)