Updated dependencies (#255)

* Bump android compile and target version, also flutter dependencies and resolve issues

* Remove deprecated splashscreen and added support for new Android 12 version.

* Updated workflow action versions and flutter sdk

* Resolved linting issues

* Resolved test binding issues
This commit is contained in:
Gustaf Järgren
2023-02-11 00:24:06 +11:00
committed by GitHub
parent 298ee24a9c
commit 6d4973deb8
51 changed files with 816 additions and 592 deletions
+7 -6
View File
@@ -223,8 +223,9 @@ class InvenTreeModel {
Future <void> goToInvenTreePage() async {
if (await canLaunch(webUrl)) {
await launch(webUrl);
var uri = Uri.tryParse(webUrl);
if (uri != null && await canLaunchUrl(uri)) {
await launchUrl(uri);
} else {
// TODO
}
@@ -233,9 +234,9 @@ class InvenTreeModel {
Future <void> openLink() async {
if (link.isNotEmpty) {
if (await canLaunch(link)) {
await launch(link);
var uri = Uri.tryParse(link);
if (uri != null && await canLaunchUrl(uri)) {
await launchUrl(uri);
}
}
}
@@ -799,7 +800,7 @@ class InvenTreeAttachment extends InvenTreeModel {
}
}
return FontAwesomeIcons.fileAlt;
return FontAwesomeIcons.fileLines;
}
String get comment => (jsondata["comment"] ?? "") as String;