Fix notification and Order Food

This commit is contained in:
phanhuuloi27
2022-06-16 14:03:01 +07:00
parent 0352a208df
commit 10350388a7
6 changed files with 27 additions and 9 deletions
@@ -178,6 +178,7 @@ public class Cart extends AppCompatActivity {
//Only run when get result
if (response.code() == 200) {
if (response.body().success == 1) {
new Database(getBaseContext()).cleanCart();
Toast.makeText(Cart.this, "Đặt hàng thành công!", Toast.LENGTH_SHORT).show();
finish();
} else {