|
|
|
@ -266,6 +266,7 @@ class _ServiceRequestDetailViewState extends State<ServiceRequestDetailView> {
|
|
|
|
if (_attachments.isNotEmpty) ...[
|
|
|
|
if (_attachments.isNotEmpty) ...[
|
|
|
|
const Divider().defaultStyle(context),
|
|
|
|
const Divider().defaultStyle(context),
|
|
|
|
InfoHeader16Widget("Attachments".addTranslation),
|
|
|
|
InfoHeader16Widget("Attachments".addTranslation),
|
|
|
|
|
|
|
|
4.height,
|
|
|
|
FilesList(
|
|
|
|
FilesList(
|
|
|
|
showAsListView: true,
|
|
|
|
showAsListView: true,
|
|
|
|
images: _attachments.map((toElement) => URLs.getFileUrl(toElement.name!) ?? '').toList(),
|
|
|
|
images: _attachments.map((toElement) => URLs.getFileUrl(toElement.name!) ?? '').toList(),
|
|
|
|
@ -299,6 +300,7 @@ class _ServiceRequestDetailViewState extends State<ServiceRequestDetailView> {
|
|
|
|
if (_attachments.isNotEmpty) ...[
|
|
|
|
if (_attachments.isNotEmpty) ...[
|
|
|
|
const Divider().defaultStyle(context),
|
|
|
|
const Divider().defaultStyle(context),
|
|
|
|
InfoHeader16Widget("Attachments".addTranslation),
|
|
|
|
InfoHeader16Widget("Attachments".addTranslation),
|
|
|
|
|
|
|
|
4.height,
|
|
|
|
FilesList(
|
|
|
|
FilesList(
|
|
|
|
images: _attachments.map((toElement) => URLs.getFileUrl(toElement.name!)!).toList(),
|
|
|
|
images: _attachments.map((toElement) => URLs.getFileUrl(toElement.name!)!).toList(),
|
|
|
|
showAsListView: true,
|
|
|
|
showAsListView: true,
|
|
|
|
|