File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -714,8 +714,6 @@ private void TryScheduleAttachmentDownload(SignalAttachment attachment)
714
714
} ) . Result ;
715
715
BackgroundDownloader downloader = new BackgroundDownloader ( ) ;
716
716
downloader . SetRequestHeader ( "Content-Type" , "application/octet-stream" ) ;
717
- downloader . SuccessToastNotification = LibUtils . CreateToastNotification ( $ "{ attachment . SentFileName } has finished downloading.") ;
718
- downloader . FailureToastNotification = LibUtils . CreateToastNotification ( $ "{ attachment . SentFileName } has failed to download.") ;
719
717
// this is the recommended way to call CreateDownload
720
718
// see https://docs.microsoft.com/en-us/uwp/api/windows.networking.backgroundtransfer.backgrounddownloader#Methods
721
719
DownloadOperation download = downloader . CreateDownload ( new Uri ( RetrieveAttachmentUrl ( attachmentPointer ) ) , tmpDownload ) ;
You can’t perform that action at this time.
0 commit comments