mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
parent
4d0bed2967
commit
c2c01cb555
1 changed files with 0 additions and 13 deletions
|
@ -43,7 +43,6 @@ import eu.kanade.tachiyomi.util.view.openInBrowser
|
|||
import eu.kanade.tachiyomi.util.view.scrollViewWith
|
||||
import eu.kanade.tachiyomi.util.view.snack
|
||||
import eu.kanade.tachiyomi.widget.TachiyomiTextInputEditText.Companion.setIncognito
|
||||
import eu.kanade.tachiyomi.widget.preference.ListMatPreference
|
||||
import kotlinx.coroutines.flow.launchIn
|
||||
import kotlinx.coroutines.flow.onEach
|
||||
import uy.kohesive.injekt.Injekt
|
||||
|
@ -265,18 +264,6 @@ class ExtensionDetailsController(bundle: Bundle? = null) :
|
|||
screen.getPreference(it) === preference
|
||||
}
|
||||
|
||||
if (preference is ListPreference) {
|
||||
ListMatPreference(activity, preference.context).apply {
|
||||
key = preference.key
|
||||
sharedPref = preference.fragment
|
||||
otherPref = preference
|
||||
preferenceDataStore = preference.preferenceDataStore
|
||||
entries = preference.entries.mapNotNull { it.toString() }
|
||||
entryValues = preference.entryValues.mapNotNull { it.toString() }
|
||||
}.dialog().show()
|
||||
return
|
||||
}
|
||||
|
||||
val f = when (preference) {
|
||||
is EditTextPreference ->
|
||||
EditTextPreferenceDialogController
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue