From bbce34a82d99e9b84a352209532751e8ac8975a4 Mon Sep 17 00:00:00 2001
From: zuoxiao <470321431@qq.com>
Date: 星期四, 23 十一月 2023 10:00:49 +0800
Subject: [PATCH] 添加按钮点击效果

---
 app/src/main/java/com/dayu/recharge/activity/ElectricPriceActivity.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app/src/main/java/com/dayu/recharge/activity/ElectricPriceActivity.java b/app/src/main/java/com/dayu/recharge/activity/ElectricPriceActivity.java
index a49d247..d98ecd5 100644
--- a/app/src/main/java/com/dayu/recharge/activity/ElectricPriceActivity.java
+++ b/app/src/main/java/com/dayu/recharge/activity/ElectricPriceActivity.java
@@ -7,7 +7,7 @@
 
 import com.dayu.recharge.databinding.ActivityElectricPriceBinding;
 import com.dayu.recharge.dbBean.ElectricPriceBean;
-import com.dayu.recharge.utils.ToastUtil;
+import com.dayu.recharge.utils.TipUtil;
 
 /**
  * Copyright (C), 2023,
@@ -33,10 +33,10 @@
                 if (!TextUtils.isEmpty(electricPriceBinding.electricNewNum.getText())) {
                     electricPriceBean.setPrice(Float.parseFloat(electricPriceBinding.electricNewNum.getText().toString()));
                     baseDao.electricPriceDao().insert(electricPriceBean);
-                    ToastUtil.show("淇濆瓨鎴愬姛");
+                    TipUtil.show("淇濆瓨鎴愬姛");
                     initData();
                 } else {
-                    ToastUtil.show("璇疯緭鍏ユ纭噾棰�");
+                    TipUtil.show("璇疯緭鍏ユ纭噾棰�");
                 }
             }
         });

--
Gitblit v1.8.0