File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ mixin EmojiStore {
115
115
///
116
116
/// See description in the web code:
117
117
/// https://github.com/zulip/zulip/blob/83a121c7e/web/shared/src/typeahead.ts#L3-L21
118
- Iterable <EmojiCandidate > get popularEmojiCandidates {
118
+ Iterable <EmojiCandidate > popularEmojiCandidates () {
119
119
return EmojiStoreImpl ._popularCandidates;
120
120
}
121
121
@@ -315,7 +315,7 @@ class EmojiStoreImpl extends PerAccountStoreBase with EmojiStore {
315
315
316
316
// Include the "popular" emoji, in their canonical order
317
317
// relative to each other.
318
- results.addAll (popularEmojiCandidates);
318
+ results.addAll (popularEmojiCandidates () );
319
319
320
320
final namesOverridden = {
321
321
for (final emoji in activeRealmEmoji) emoji.name,
Original file line number Diff line number Diff line change @@ -699,7 +699,7 @@ class ReactionButtons extends StatelessWidget {
699
699
@override
700
700
Widget build (BuildContext context) {
701
701
final store = PerAccountStoreWidget .of (pageContext);
702
- final popularEmojiCandidates = store.popularEmojiCandidates;
702
+ final popularEmojiCandidates = store.popularEmojiCandidates () ;
703
703
assert (popularEmojiCandidates.every (
704
704
(emoji) => emoji.emojiType == ReactionType .unicodeEmoji));
705
705
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ void main() {
78
78
});
79
79
});
80
80
81
- final popularCandidates = eg.store ().popularEmojiCandidates;
81
+ final popularCandidates = eg.store ().popularEmojiCandidates () ;
82
82
83
83
Condition <Object ?> isUnicodeCandidate (String ? emojiCode, List <String >? names) {
84
84
return (it_) {
Original file line number Diff line number Diff line change @@ -829,7 +829,7 @@ void main() {
829
829
830
830
group ('message action sheet' , () {
831
831
group ('ReactionButtons' , () {
832
- final popularCandidates = eg.store ().popularEmojiCandidates;
832
+ final popularCandidates = eg.store ().popularEmojiCandidates () ;
833
833
834
834
for (final emoji in popularCandidates) {
835
835
final emojiDisplay = emoji.emojiDisplay as UnicodeEmojiDisplay ;
Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ void main() {
299
299
// - Non-animated image emoji is selected when intended
300
300
301
301
group ('EmojiPicker' , () {
302
- final popularCandidates = eg.store ().popularEmojiCandidates;
302
+ final popularCandidates = eg.store ().popularEmojiCandidates () ;
303
303
304
304
Future <void > setupEmojiPicker (WidgetTester tester, {
305
305
required StreamMessage message,
You can’t perform that action at this time.
0 commit comments