opt: up主投稿跳转番剧

This commit is contained in:
guozhigq
2024-05-02 23:33:58 +08:00
parent ec9da3b512
commit 4271756bab

View File

@ -49,13 +49,6 @@ class ChatItem extends StatelessWidget {
this.e_infos,
});
static List<int> matchNum(String str) {
final RegExp regExp = RegExp(r'\d+');
final Iterable<Match> matches = regExp.allMatches(str);
return matches.map((Match match) => int.parse(match.group(0)!)).toList();
}
@override
Widget build(BuildContext context) {
bool isOwner =