clear input fields if product's not found
This commit is contained in:
parent
6e497323c0
commit
3d4f86085e
|
@ -201,6 +201,8 @@ class AddAbstractProductActivity : AppCompatActivity() {
|
|||
runOnUiThread {
|
||||
Toast.makeText(this, getString(R.string.no_product_in_online_database), Toast.LENGTH_LONG)
|
||||
.show()
|
||||
productNameText.setText("")
|
||||
netWeightText.setText("")
|
||||
}
|
||||
return@thread
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue