|
|
|
@ -58,7 +58,7 @@ class BottomSheetDoubleEditTextFragment : BottomSheetFragment() { |
|
|
|
if (data.size == 2) { |
|
|
|
if (data.size == 2) { |
|
|
|
|
|
|
|
|
|
|
|
data[0].hint?.let { editText1.hint = getString(it) } |
|
|
|
data[0].hint?.let { editText1.hint = getString(it) } |
|
|
|
editText1.inputType = data[0].inputType ?: InputType.TYPE_CLASS_TEXT |
|
|
|
editText1.inputType = data[0].inputType ?: InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_FLAG_CAP_SENTENCES |
|
|
|
editText1.addTextChangedListener { |
|
|
|
editText1.addTextChangedListener { |
|
|
|
values[0] = it?.toString() ?: "" |
|
|
|
values[0] = it?.toString() ?: "" |
|
|
|
if (isEditingBlinds) { |
|
|
|
if (isEditingBlinds) { |
|
|
|
@ -72,7 +72,7 @@ class BottomSheetDoubleEditTextFragment : BottomSheetFragment() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
data[1].hint?.let { editText2.hint = getString(it) } |
|
|
|
data[1].hint?.let { editText2.hint = getString(it) } |
|
|
|
editText2.inputType = data[1].inputType ?: InputType.TYPE_CLASS_TEXT |
|
|
|
editText2.inputType = data[1].inputType ?: InputType.TYPE_CLASS_TEXT or InputType.TYPE_TEXT_FLAG_CAP_SENTENCES |
|
|
|
editText2.addTextChangedListener { |
|
|
|
editText2.addTextChangedListener { |
|
|
|
values[1] = it?.toString() ?: "" |
|
|
|
values[1] = it?.toString() ?: "" |
|
|
|
} |
|
|
|
} |
|
|
|
|