Fix search users

This commit is contained in:
downthecrop 2025-10-21 21:13:27 -07:00
parent 215263a129
commit df091ac94b
5 changed files with 32 additions and 197 deletions

View file

@ -2,7 +2,7 @@ package KondoKit.views
import KondoKit.Helpers
import KondoKit.components.*
import KondoKit.components.CustomSearchField
import KondoKit.components.SearchField
import KondoKit.pluginmanager.GitLabPlugin
import KondoKit.pluginmanager.GitLabPluginFetcher
import KondoKit.pluginmanager.PluginDownloadManager
@ -51,7 +51,7 @@ object ReflectiveEditorView : View {
private var cogIcon: Icon? = null
private var searchField: CustomSearchField? = null
private var searchField: SearchField? = null
// Flag for scheduled plugin reload to avoid crashes
private var reloadPlugins = false
@ -133,7 +133,7 @@ object ReflectiveEditorView : View {
panel.layout = BoxLayout(panel, BoxLayout.Y_AXIS)
panel.background = VIEW_BACKGROUND_COLOR
val searchField = CustomSearchField(
val searchField = SearchField(
parentPanel = panel,
onSearch = { searchText ->
pluginSearchText = searchText