Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-07-23 16:47:11 +08:00
parent 148e0872b4
commit 418a1e8d39
821 changed files with 29467 additions and 25520 deletions

View File

@@ -22,9 +22,10 @@ class SearchArticleController
}
void jump2Article() {
String? cvid = RegExp(r'^cv(id)?(\d+)$', caseSensitive: false)
.matchAsPrefix(keyword)
?.group(2);
String? cvid = RegExp(
r'^cv(id)?(\d+)$',
caseSensitive: false,
).matchAsPrefix(keyword)?.group(2);
if (cvid != null) {
WidgetsBinding.instance.addPostFrameCallback((_) {
Get.toNamed(
@@ -108,8 +109,8 @@ class SearchArticleController
: null,
textColor:
item['value'] == currentOrderFilterval.value
? theme.colorScheme.onSecondaryContainer
: null,
? theme.colorScheme.onSecondaryContainer
: null,
),
)
.toList(),