0
0
Fork 0
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:
X1nto 2020-12-23 19:47:34 +04:00
parent 6c0bc4e1ea
commit b794afa294

View file

@ -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)
}
putString("lang", "en")
}
}
dismiss()