Add a more through and working check for configurable delegate sources
This commit is contained in:
parent
c49464db1e
commit
4b57e33f2d
1 changed files with 6 additions and 1 deletions
|
|
@ -80,7 +80,12 @@ class SourcePreferencesController(bundle: Bundle? = null) :
|
|||
try {
|
||||
// SY -->
|
||||
if (source is EnhancedHttpSource) {
|
||||
addPreferencesForSource(screen, source.enchancedSource)
|
||||
if (source.enchancedSource is ConfigurableSource) {
|
||||
addPreferencesForSource(screen, source.source())
|
||||
} else {
|
||||
addPreferencesForSource(screen, source.originalSource)
|
||||
}
|
||||
|
||||
} else {
|
||||
addPreferencesForSource(screen, source)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue