forked from upstream-mirrors/quik
Move option to edit blocking manager settings to selection screen
This commit is contained in:
@@ -88,6 +88,12 @@ class RadioPreferenceView @JvmOverloads constructor(
|
||||
context.obtainStyledAttributes(attrs, R.styleable.RadioPreferenceView)?.run {
|
||||
title = getString(R.styleable.RadioPreferenceView_title)
|
||||
summary = getString(R.styleable.RadioPreferenceView_summary)
|
||||
|
||||
// If there's a custom view used for the preference's widget, inflate it
|
||||
getResourceId(R.styleable.RadioPreferenceView_widget, -1).takeIf { it != -1 }?.let { id ->
|
||||
View.inflate(context, id, widgetFrame)
|
||||
}
|
||||
|
||||
recycle()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user