feat(badges): boot auto-award + checkin hook + search history slot

Wire BadgeAutoAward/Badges init, fire aksrt_checkin_done, and optional
search-history mount point on the search widget.
This commit is contained in:
2026-07-19 01:49:09 +08:00
parent dbe1275173
commit 00cd4573d4
3 changed files with 18 additions and 0 deletions
+6
View File
@@ -174,6 +174,12 @@ if (class_exists('\AKSRT\User\Restriction')) {
if (class_exists('\AKSRT\User\Center')) {
\AKSRT\User\Center::get_instance()->init();
}
if (class_exists('\AKSRT\User\Badges')) {
\AKSRT\User\Badges::get_instance()->init();
}
if (class_exists('\AKSRT\User\BadgeAutoAward')) {
\AKSRT\User\BadgeAutoAward::get_instance()->init();
}
if (class_exists('\AKSRT\User\Home')) {
\AKSRT\User\Home::get_instance()->init();
}