fix(Scout): keep needsResources for some people still on old core

This commit is contained in:
Cilly Leang 2025-10-18 01:12:49 +11:00
parent 67b2c22200
commit 26bc980191
Signed by: cilly
GPG key ID: 6500251E087653C9

View file

@ -65,6 +65,11 @@ class Scout : Plugin() {
lateinit var ssProvider: ScoutSearchStringProvider
lateinit var searchApi: SearchAPIInterface
init {
@Suppress("DEPRECATION")
needsResources = true
}
override fun load(context: Context) {
scoutRes = ScoutResource(resources!!)
ssProvider = ScoutSearchStringProvider(context)