From 152dd8548db82ca9f0cfb2effddce4f3f884084b Mon Sep 17 00:00:00 2001 From: X1nto Date: Sat, 20 Jun 2020 19:48:22 +0400 Subject: [PATCH] fixed broadcast --- .../vanced/manager/core/downloader/VancedDownloadService.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/com/vanced/manager/core/downloader/VancedDownloadService.kt b/app/src/main/java/com/vanced/manager/core/downloader/VancedDownloadService.kt index c635e611..ba6bc446 100644 --- a/app/src/main/java/com/vanced/manager/core/downloader/VancedDownloadService.kt +++ b/app/src/main/java/com/vanced/manager/core/downloader/VancedDownloadService.kt @@ -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")