0
0
Fork 0
mirror of https://github.com/YTVanced/VancedManager synced 2024-11-30 06:53:01 +00:00

fixed broadcast

This commit is contained in:
X1nto 2020-06-20 19:48:22 +04:00
parent f38b169476
commit 152dd8548d

View file

@ -73,8 +73,8 @@ class VancedDownloadService: Service() {
LocalBroadcastManager.getInstance(this).sendBroadcast(intent) LocalBroadcastManager.getInstance(this).sendBroadcast(intent)
}, },
onComplete = { onComplete = {
val intent = Intent(HomeFragment.MICROG_DOWNLOADED) val intent = Intent(HomeFragment.VANCED_DOWNLOADED)
intent.action = HomeFragment.MICROG_DOWNLOADED intent.action = HomeFragment.VANCED_DOWNLOADED
LocalBroadcastManager.getInstance(this).sendBroadcast(intent) LocalBroadcastManager.getInstance(this).sendBroadcast(intent)
when (type) { when (type) {
"arch" -> downloadSplits("theme") "arch" -> downloadSplits("theme")