diff --git a/app/src/main/java/org/matrix/chromext/proxy/Preference.kt b/app/src/main/java/org/matrix/chromext/proxy/Preference.kt index e143867..9be90c6 100644 --- a/app/src/main/java/org/matrix/chromext/proxy/Preference.kt +++ b/app/src/main/java/org/matrix/chromext/proxy/Preference.kt @@ -47,7 +47,9 @@ object PreferenceProxy { private val preferenceFragmentCompat = loopOverSuperClass(developerSettings.superclass as Class<*>) { - !Chrome.isBrave || it.superclass.name.startsWith("androidx.fragment") + !Chrome.isBrave || + it.superclass.name.startsWith("androidx.fragment") || + it.superclass.superclass.name == "java.lang.Object" } val findPreference = findMethod(preferenceFragmentCompat) {