added download error to broadcast

This commit is contained in:
X1nto 2020-06-19 22:21:21 +04:00
parent 1754bcad43
commit 4f38b7afda
1 changed files with 6 additions and 0 deletions

View File

@ -295,6 +295,12 @@ class HomeFragment : Home() {
)
)
}
activity?.let {
LocalBroadcastManager.getInstance(it).registerReceiver(broadcastReceiver, IntentFilter(
DOWNLOAD_ERROR
)
)
}
}