Add a more through and working check for configurable delegate sources
This commit is contained in:
parent
c49464db1e
commit
4b57e33f2d
@ -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…
x
Reference in New Issue
Block a user