Fix a typo that likely goes back all the way to EH

This commit is contained in:
Jobobby04
2020-06-26 23:19:09 -04:00
parent 4b57e33f2d
commit bf209896ed
3 changed files with 6 additions and 6 deletions
@@ -12,7 +12,7 @@ import uy.kohesive.injekt.injectLazy
class EnhancedHttpSource(
val originalSource: HttpSource,
val enchancedSource: HttpSource
val enhancedSource: HttpSource
) : HttpSource() {
private val prefs: PreferencesHelper by injectLazy()
@@ -215,9 +215,9 @@ class EnhancedHttpSource(
*/
override fun getFilterList() = source().getFilterList()
private fun source(): HttpSource {
fun source(): HttpSource {
return if (prefs.eh_delegateSources().get()) {
enchancedSource
enhancedSource
} else {
originalSource
}