clear input fields if product's not found
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user