|
@@ -241,7 +241,7 @@ class _DetailPageState extends State<DetailPage> {
|
|
final isLocalFile = file.localID != null;
|
|
final isLocalFile = file.localID != null;
|
|
if (isLocalFile) {
|
|
if (isLocalFile) {
|
|
asset = await file.getAsset();
|
|
asset = await file.getAsset();
|
|
- fileSize = await (await asset.file).length();
|
|
|
|
|
|
+ fileSize = await (await asset.originFile).length();
|
|
}
|
|
}
|
|
return showDialog<void>(
|
|
return showDialog<void>(
|
|
context: context,
|
|
context: context,
|
|
@@ -295,9 +295,6 @@ class _DetailPageState extends State<DetailPage> {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
if (file.uploadedFileID != null) {
|
|
if (file.uploadedFileID != null) {
|
|
- items.add(
|
|
|
|
- Padding(padding: EdgeInsets.all(4)),
|
|
|
|
- );
|
|
|
|
items.add(Row(
|
|
items.add(Row(
|
|
children: [
|
|
children: [
|
|
Icon(Icons.cloud_upload_outlined),
|
|
Icon(Icons.cloud_upload_outlined),
|