fix(Scout): keep needsResources for some people still on old core
This commit is contained in:
parent
67b2c22200
commit
26bc980191
1 changed files with 5 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue