mirror of
https://github.com/hmalik144/Driver.git
synced 2026-03-18 07:26:03 +00:00
- Robots added for tests
- Tests added - view naming refactoring - Image selecting stubbing added Took 3 hours 48 minutes
This commit is contained in:
@@ -131,6 +131,7 @@ class HomeSuperUserFragment : BaseFragment<SuperUserViewModel, FragmentHomeSuper
|
||||
|
||||
private fun showChangeNumberDialog(defaultNumber: String, uid: String) {
|
||||
val inputText = EditText(context).apply {
|
||||
setTag(R.string.driver_identifier, "DriverIdentifierInput")
|
||||
setText(defaultNumber)
|
||||
setSelectAllOnFocus(true)
|
||||
doOnTextChanged { _, _, count, _ -> if (count > 6) context.displayToast("Identifier cannot be larger than 6") }
|
||||
|
||||
@@ -12,7 +12,7 @@ class DriverProfileFragment :
|
||||
|
||||
override fun setupView(binding: FragmentDriverProfileBinding) {
|
||||
super.setupView(binding)
|
||||
viewsToHide(binding.submitDriver, binding.addPhoto)
|
||||
viewsToHide(binding.submit, binding.addPhoto)
|
||||
}
|
||||
|
||||
override fun setFields(data: DriverProfile) {
|
||||
|
||||
Reference in New Issue
Block a user