Sort chatters alphabetically

This commit is contained in:
Tommy Chow 2023-04-30 15:04:14 -04:00
parent d7a9d3d33f
commit ba38c26053

View file

@ -1,3 +1,5 @@
import 'dart:collection';
import 'package:flutter/widgets.dart';
import 'package:frosty/apis/twitch_api.dart';
import 'package:frosty/models/irc.dart';
@ -34,7 +36,7 @@ abstract class ChatDetailsStoreBase with Store {
var _filterText = '';
/// The list and types of chatters in the chat room.
final chatUsers = <String>{};
final chatUsers = SplayTreeSet<String>();
@computed
Iterable<String> get filteredUsers =>