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