fixed broadcast

This commit is contained in:
X1nto 2020-06-20 19:48:22 +04:00
parent f38b169476
commit 152dd8548d
1 changed files with 2 additions and 2 deletions

View File

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