Merge branch 'main' into feat/ffi

# Conflicts:
#	pkg/download/extension.go
This commit is contained in:
liwei committed 2024-12-21 15:58:04 +08:00
commit 0a4d74a513
8 files changed
+108 -44

No files matched your search

+10 -3
View File
@@ -8,9 +8,16 @@ void showErrorMessage(msg) {
Get.snackbar(title, msg.msg!);
return;
}
if (msg is Exception && (msg as dynamic).message is Result) {
Get.snackbar(title, ((msg as dynamic).message as Result).msg!);
return;
if (msg is Exception) {
final message = (msg as dynamic).message;
if (message is Result) {
Get.snackbar(title, ((msg as dynamic).message as Result).msg!);
return;
}
if (message is String) {
Get.snackbar(title, message);
return;
}
}
Get.snackbar(title, msg.toString());
}
+1 -1
View File
@@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.6.3+1
version: 1.6.4+1
environment:
sdk: ">=3.0.0 <4.0.0"