idleee
This commit is contained in:
@@ -73,7 +73,7 @@ class _PublicFileViewerState extends State<PublicFileViewer> {
|
|||||||
final viewUrl = _fileData!['viewUrl'] as String;
|
final viewUrl = _fileData!['viewUrl'] as String;
|
||||||
final uri = Uri.parse(viewUrl);
|
final uri = Uri.parse(viewUrl);
|
||||||
final path = uri.path + (uri.query.isNotEmpty ? '?${uri.query}' : '');
|
final path = uri.path + (uri.query.isNotEmpty ? '?${uri.query}' : '');
|
||||||
|
|
||||||
final bytes = await apiClient.getBytes(path);
|
final bytes = await apiClient.getBytes(path);
|
||||||
setState(() {
|
setState(() {
|
||||||
_pdfBytes = bytes;
|
_pdfBytes = bytes;
|
||||||
|
|||||||
Reference in New Issue
Block a user