Update SearchPreference to version 2.1.0
This commit is contained in:
parent
464be2e45e
commit
4581bf3f8b
2 changed files with 2 additions and 4 deletions
|
@ -35,7 +35,7 @@ dependencies {
|
|||
implementation 'com.mikepenz:materialdrawer:8.4.5'
|
||||
implementation 'com.mikepenz:materialdrawer-iconics:8.4.5'
|
||||
implementation 'com.mikepenz:fontawesome-typeface:5.9.0.0-kotlin@aar'
|
||||
implementation 'com.github.ByteHamster:SearchPreference:v2.0.0'
|
||||
implementation 'com.github.ByteHamster:SearchPreference:v2.1.0'
|
||||
implementation "com.mikepenz:fastadapter:${versions.fastAdapter}"
|
||||
implementation "com.mikepenz:fastadapter-extensions-drag:${versions.fastAdapter}"
|
||||
implementation "com.mikepenz:fastadapter-extensions-utils:${versions.fastAdapter}"
|
||||
|
|
|
@ -16,7 +16,6 @@ import com.fsck.k9.ui.R
|
|||
import com.fsck.k9.ui.base.K9Activity
|
||||
import com.fsck.k9.ui.fragmentTransaction
|
||||
import com.fsck.k9.ui.fragmentTransactionWithBackStack
|
||||
import com.fsck.k9.ui.resolveColorAttribute
|
||||
|
||||
class GeneralSettingsActivity : K9Activity(), OnPreferenceStartScreenCallback, SearchPreferenceResultListener {
|
||||
private lateinit var searchPreferenceActionView: SearchPreferenceActionView
|
||||
|
@ -63,8 +62,7 @@ class GeneralSettingsActivity : K9Activity(), OnPreferenceStartScreenCallback, S
|
|||
replace(R.id.generalSettingsContainer, fragment)
|
||||
}
|
||||
|
||||
val accentColor = theme.resolveColorAttribute(R.attr.colorAccent)
|
||||
result.highlight(fragment as PreferenceFragmentCompat, accentColor)
|
||||
result.highlight(fragment as PreferenceFragmentCompat)
|
||||
}
|
||||
|
||||
override fun onCreateOptionsMenu(menu: Menu): Boolean {
|
||||
|
|
Loading…
Reference in a new issue