修复吐司模块不显示字幕的BUG

This commit is contained in:
ZhanGSKen 2025-03-15 15:26:59 +08:00
parent c0347ed706
commit db96ece15f
4 changed files with 12 additions and 9 deletions

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Sat Mar 15 14:46:50 HKT 2025 #Sat Mar 15 07:25:37 GMT 2025
stageCount=1 stageCount=1
libraryProject=libappbase libraryProject=libappbase
baseVersion=15.0 baseVersion=15.0
publishVersion=15.0.0 publishVersion=15.0.0
buildCount=0 buildCount=4
baseBetaVersion=15.0.1 baseBetaVersion=15.0.1

View File

@ -37,7 +37,10 @@ public class MainActivity extends Activity {
cbIsDebugMode.setChecked(GlobalApplication.isDebuging()); cbIsDebugMode.setChecked(GlobalApplication.isDebuging());
mLogView = findViewById(R.id.activitymainLogView1); mLogView = findViewById(R.id.activitymainLogView1);
if (GlobalApplication.isDebuging()) { mLogView.start(); } if (GlobalApplication.isDebuging()) {
mLogView.start();
ToastUtils.show("LogView start.");
}
} }
@Override @Override

View File

@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Sat Mar 15 14:46:32 HKT 2025 #Sat Mar 15 07:25:37 GMT 2025
stageCount=1 stageCount=1
libraryProject=libappbase libraryProject=libappbase
baseVersion=15.0 baseVersion=15.0
publishVersion=15.0.0 publishVersion=15.0.0
buildCount=0 buildCount=4
baseBetaVersion=15.0.1 baseBetaVersion=15.0.1

View File

@ -28,6 +28,6 @@ public class ToastUtils {
} }
public static void show(String message) { public static void show(String message) {
Toast.makeText(getInstance().mContext, "", Toast.LENGTH_SHORT).show(); Toast.makeText(getInstance().mContext, message, Toast.LENGTH_SHORT).show();
} }
} }