Fix for A-C 23.0.0: onDownloadCompleted renamed to onDownloadStopped

staging
Christian Sadilek 5 years ago
parent cd3e077bc9
commit 8271f0f55a

@ -263,7 +263,7 @@ abstract class BaseBrowserFragment : Fragment(), BackHandler, SessionManager.Obs
}
)
downloadFeature.onDownloadCompleted = { download, _, downloadJobStatus ->
downloadFeature.onDownloadStopped = { download, _, downloadJobStatus ->
// If the download is just paused, don't show any in-app notification
if (downloadJobStatus == AbstractFetchDownloadService.DownloadJobStatus.COMPLETED ||
downloadJobStatus == AbstractFetchDownloadService.DownloadJobStatus.FAILED) {

Loading…
Cancel
Save