mirror of
https://github.com/YTVanced/VancedManager
synced 2024-11-21 18:55: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 {
|
||||
if (showLang.isEmpty()) {
|
||||
with("en") en@ {
|
||||
showLang.add(this)
|
||||
installPrefs.edit {
|
||||
putString("lang", this@en)
|
||||
}
|
||||
installPrefs.edit {
|
||||
putString("lang", "en")
|
||||
}
|
||||
}
|
||||
dismiss()
|
||||
|
|
Loading…
Reference in a new issue