From e7a6728aea008cab5befa5980382370c32974ce5 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期三, 11 九月 2024 14:51:07 +0800
Subject: [PATCH] 修改了百年心愿模块的排版和显示不正确的问题

---
 app_base/src/main/java/com/android/app_base/action/TitleBarAction.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/app_base/src/main/java/com/android/app_base/action/TitleBarAction.java b/app_base/src/main/java/com/android/app_base/action/TitleBarAction.java
index 54d0371..ff77006 100644
--- a/app_base/src/main/java/com/android/app_base/action/TitleBarAction.java
+++ b/app_base/src/main/java/com/android/app_base/action/TitleBarAction.java
@@ -24,16 +24,16 @@
     /**
      * 璁剧疆鏍囬鏍忕殑鏍囬
      */
-    default void setTitle(@StringRes int id) {
+    default void setCenterTitle(@StringRes int id) {
         if (getTitleBar() != null) {
-            setTitle(getTitleBar().getResources().getString(id));
+            setCenterTitle(getTitleBar().getResources().getString(id));
         }
     }
 
     /**
      * 璁剧疆鏍囬鏍忕殑鏍囬
      */
-    default void setTitle(CharSequence title) {
+    default void setCenterTitle(CharSequence title) {
         if (getTitleBar() != null) {
             getTitleBar().setTitle(title);
         }

--
Gitblit v1.9.1