mirror of
https://github.com/rebelonion/Dantotsu.git
synced 2026-01-24 00:01:01 +00:00
Revert "removed sub dub toggle(useless)"
This reverts commit 60981ba224.
This commit is contained in:
@@ -436,6 +436,11 @@ class SettingsActivity : AppCompatActivity(), SimpleDialog.OnDialogResultListene
|
||||
).edit().putBoolean("shared_user_id", isChecked).apply()
|
||||
}
|
||||
|
||||
binding.settingsPreferDub.isChecked = loadData("settings_prefer_dub") ?: false
|
||||
binding.settingsPreferDub.setOnCheckedChangeListener { _, isChecked ->
|
||||
saveData("settings_prefer_dub", isChecked)
|
||||
}
|
||||
|
||||
//val mangaSource = loadData<Int>("settings_def_manga_source_s")?.let { if (it >= MangaSources.names.size) 0 else it } ?: 0
|
||||
val mangaSource = getSharedPreferences(
|
||||
"Dantotsu",
|
||||
|
||||
Reference in New Issue
Block a user