mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
opt: resCode, post panel
fix: bangumi panel Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -26,6 +26,11 @@ import 'package:url_launcher/url_launcher.dart';
|
||||
class Utils {
|
||||
static final Random random = Random();
|
||||
|
||||
static bool isStringNumeric(str) {
|
||||
RegExp numericRegex = RegExp(r'^\d+$');
|
||||
return numericRegex.hasMatch(str.toString());
|
||||
}
|
||||
|
||||
static ReplyInfo replyCast(res) {
|
||||
Map? emote = res['content']['emote'];
|
||||
emote?.forEach((key, value) {
|
||||
|
||||
Reference in New Issue
Block a user