Add custom tag suggestion handler (#424)

This commit is contained in:
Gandum2077
2025-06-24 19:47:14 +08:00
committed by GitHub
parent 838d5c9c3e
commit d5d72911ed
6 changed files with 48 additions and 11 deletions

View File

@@ -184,6 +184,9 @@ class ComicSource {
final HandleClickTagEvent? handleClickTagEvent;
/// Callback when a tag suggestion is selected in search.
final TagSuggestionSelectFunc? onTagSuggestionSelected;
final LinkHandler? linkHandler;
final bool enableTagsSuggestions;
@@ -259,6 +262,7 @@ class ComicSource {
this.idMatcher,
this.translations,
this.handleClickTagEvent,
this.onTagSuggestionSelected,
this.linkHandler,
this.enableTagsSuggestions,
this.enableTagsTranslate,