mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
mod: disable version check when debug
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -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'});
|
||||
|
||||
Reference in New Issue
Block a user