Fix many compilation warnings

This commit is contained in:
inorichi
2017-10-28 19:12:17 +02:00
parent 827792c4f0
commit 4ae00c80ca
21 changed files with 43 additions and 41 deletions
@@ -31,14 +31,14 @@ abstract class LoginDialogPreference(bundle: Bundle? = null) : DialogController(
.negativeText(android.R.string.cancel)
.build()
onViewCreated(dialog.view, savedState)
onViewCreated(dialog.view)
return dialog
}
fun onViewCreated(view: View, savedState: Bundle?) {
fun onViewCreated(view: View) {
v = view.apply {
show_password.setOnCheckedChangeListener { v, isChecked ->
show_password.setOnCheckedChangeListener { _, isChecked ->
if (isChecked)
password.transformationMethod = null
else