fix some lint warnings
This commit is contained in:
parent
1ae3e86378
commit
ef66deeae7
36 changed files with 52 additions and 105 deletions
|
@ -89,7 +89,7 @@ class TimelineCasesImpl(
|
|||
override fun block(id: String) {
|
||||
val call = mastodonApi.blockAccount(id)
|
||||
call.enqueue(object : Callback<Relationship> {
|
||||
override fun onResponse(call: Call<Relationship>, response: retrofit2.Response<Relationship>) {}
|
||||
override fun onResponse(call: Call<Relationship>, response: Response<Relationship>) {}
|
||||
|
||||
override fun onFailure(call: Call<Relationship>, t: Throwable) {}
|
||||
})
|
||||
|
@ -100,7 +100,7 @@ class TimelineCasesImpl(
|
|||
override fun delete(id: String) {
|
||||
val call = mastodonApi.deleteStatus(id)
|
||||
call.enqueue(object : Callback<ResponseBody> {
|
||||
override fun onResponse(call: Call<ResponseBody>, response: retrofit2.Response<ResponseBody>) {}
|
||||
override fun onResponse(call: Call<ResponseBody>, response: Response<ResponseBody>) {}
|
||||
|
||||
override fun onFailure(call: Call<ResponseBody>, t: Throwable) {}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue