Retrofit 2.10.0 (#4330)
https://github.com/square/retrofit/releases/tag/2.10.0
This commit is contained in:
parent
be8140d628
commit
83cbbe9ada
4 changed files with 11 additions and 22 deletions
|
|
@ -39,7 +39,6 @@ import com.keylesspalace.tusky.util.Single
|
|||
import com.keylesspalace.tusky.util.getServerErrorMessage
|
||||
import java.util.Locale
|
||||
import javax.inject.Inject
|
||||
import okhttp3.ResponseBody
|
||||
import retrofit2.Response
|
||||
|
||||
/**
|
||||
|
|
@ -182,7 +181,7 @@ class TimelineCases @Inject constructor(
|
|||
return Single { runCatching { mastodonApi.notifications(maxId, sinceId, limit, excludes) } }
|
||||
}
|
||||
|
||||
fun clearNotificationsOld(): Single<ResponseBody> {
|
||||
fun clearNotificationsOld(): Single<Unit> {
|
||||
return Single { mastodonApi.clearNotifications() }
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue