get rid of BaseFragment by using RxJava instead of Retrofit Calls (#2055)
* get rid of BaseFragment by using RxJava instead of Retrofit Calls * fix tests
This commit is contained in:
parent
2d2b79aa47
commit
886ff2f06b
13 changed files with 170 additions and 309 deletions
|
|
@ -57,7 +57,7 @@ class DraftsViewModel @Inject constructor(
|
|||
}
|
||||
|
||||
fun getToot(tootId: String): Single<Status> {
|
||||
return api.statusSingle(tootId)
|
||||
return api.status(tootId)
|
||||
}
|
||||
|
||||
override fun onCleared() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue