We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d882f50 commit 7dd19bbCopy full SHA for 7dd19bb
lib/model/autocomplete.dart
@@ -154,6 +154,12 @@ class AutocompleteViewManager {
154
view.reassemble();
155
}
156
157
+
158
+ // `dispose`? Hmm, no: we already have code calling `dispose` on the views in
159
+ // [_mentionAutocompleteViews] when the [PerAccountStore] is replaced.
160
+ // It's UI code, a [PerAccountStoreAwareStateMixin.onNewStore], and it would
161
+ // be an error to call a [ChangeNotifier]'s dispose method twice. Discussion:
162
+ // https://chat.zulip.org/#narrow/stream/243-mobile-team/topic/.60MentionAutocompleteView.2Edispose.60/near/1791292
163
164
165
/// A view-model for a mention-autocomplete interaction.
0 commit comments