diff --git a/app/src/main/java/com/topjohnwu/magisk/data/repository/MagiskRepository.kt b/app/src/main/java/com/topjohnwu/magisk/data/repository/MagiskRepository.kt index 4ab4ec0c6..bc69296c2 100644 --- a/app/src/main/java/com/topjohnwu/magisk/data/repository/MagiskRepository.kt +++ b/app/src/main/java/com/topjohnwu/magisk/data/repository/MagiskRepository.kt @@ -36,7 +36,7 @@ class MagiskRepository( } else { Single.just(it) } - }.map { Info.remote = it; it } + }.doOnSuccess { Info.remote = it } fun fetchApps() = Single.fromCallable { packageManager.getInstalledApplications(0) }