mirror of
https://github.com/Nezumi-2711/PRM392.git
synced 2026-09-22 20:00:53 +00:00
Fix notification and Order Food
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user