TF-4128 Separate download handling into independent class to decouple from views on web
This commit is contained in:
@@ -91,7 +91,7 @@ class _PDFViewerState extends State<PDFViewer> {
|
||||
widget.attachment,
|
||||
widget.accountId,
|
||||
widget.downloadUrl,
|
||||
_downloadAttachmentStreamController,
|
||||
onReceiveController: _downloadAttachmentStreamController,
|
||||
cancelToken: _downloadAttachmentCancelToken
|
||||
).listen((viewState) {
|
||||
viewState.fold(
|
||||
|
||||
Reference in New Issue
Block a user