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 { 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()