Fixed using mapping function incorrectly

This commit is contained in:
Viktor De Pasquale 2019-08-06 16:15:17 +02:00 committed by John Wu
parent 085ede6d93
commit 870efc49ea

View File

@ -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) }