Change Maybe.just(-1) to empty()

This commit is contained in:
Mikołaj Pich 2019-08-09 12:45:39 +02:00
parent dcb13bed91
commit e0e12226ab
No known key found for this signature in database
GPG key ID: F62B26E36D4C4BAA

View file

@ -64,6 +64,6 @@ class HomepageRepository(private val api: HomepageService) {
@Deprecated("Deprecated due to VULCAN homepage update 19.06", ReplaceWith("getKidsLuckyNumbers()"))
fun getLuckyNumber(): Maybe<Int> {
// return api.getKidsLuckyNumbers()
return Maybe.just(-1)
return Maybe.empty()
}
}