Fix inventory viewer always downloading thumbnail despite selection

Closes #13
This commit is contained in:
Nutcake 2023-11-01 15:22:58 +01:00
parent f9d014c047
commit cf3c95d1d8
2 changed files with 2 additions and 2 deletions

View file

@ -248,7 +248,7 @@ class _InventoryBrowserAppBarState extends State<InventoryBrowserAppBar> {
return;
}
for (var record in selectedRecords) {
final uri = selectedUris == thumbUris ? record.thumbnailUri : record.thumbnailUri;
final uri = selectedUris == thumbUris ? record.thumbnailUri : record.assetUri;
await FlutterDownloader.enqueue(
url: Aux.resdbToHttp(uri),
savedDir: directory,

View file

@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix.
version: 0.10.2-beta+1
version: 0.10.3-beta+1
environment:
sdk: '>=3.0.1'