clear input fields if product's not found

This commit is contained in:
leca 2024-10-23 17:12:23 +03:00
parent 6e497323c0
commit 3d4f86085e
1 changed files with 2 additions and 0 deletions

View File

@ -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
}