Upgrade to flutter_rust_bridge V2

This commit is contained in:
2024-02-06 20:19:53 +08:00
parent 55f5bac8d9
commit a6c9b46100
46 changed files with 2121 additions and 1213 deletions

View File

@ -36,8 +36,8 @@ class Api {
static Future<Map<String, dynamic>> getAppReleaseDataByVersionName(
String version) async {
final r = await dio
.get("${URLConf.gitlabApiPath}/repos/SCToolBox/Release/releases/tags/$version");
final r = await dio.get(
"${URLConf.gitlabApiPath}/repos/SCToolBox/Release/releases/tags/$version");
return r.data;
}