mod: disable version check when debug

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-02-15 20:40:39 +08:00
parent 8ea7bf36d7
commit f0508e1bc2

View File

@@ -1170,6 +1170,7 @@ class Utils {
// 检查更新
static Future checkUpdate([bool isAuto = true]) async {
if (BuildConfig.isDebug) return;
SmartDialog.dismiss();
try {
dynamic res = await Request().get(Api.latestApp, extra: {'ua': 'mob'});