mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-25 04:35:12 +00:00
removed an unecessary call
This commit is contained in:
parent
6c0bc4e1ea
commit
b794afa294
1 changed files with 2 additions and 5 deletions
|
@ -69,11 +69,8 @@ class VancedPreferencesDialog : BindingBottomSheetDialogFragment<DialogVancedPre
|
||||||
}
|
}
|
||||||
vancedInstall.setOnClickListener {
|
vancedInstall.setOnClickListener {
|
||||||
if (showLang.isEmpty()) {
|
if (showLang.isEmpty()) {
|
||||||
with("en") en@ {
|
installPrefs.edit {
|
||||||
showLang.add(this)
|
putString("lang", "en")
|
||||||
installPrefs.edit {
|
|
||||||
putString("lang", this@en)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dismiss()
|
dismiss()
|
||||||
|
|
Loading…
Reference in a new issue