show rules on the login screen (#2746)
* show rules on the login screen * fix code formatting * fix code formatting * fix tests
This commit is contained in:
parent
3fb1173d3f
commit
8e9b356074
10 changed files with 152 additions and 8 deletions
|
|
@ -79,7 +79,7 @@ interface MastodonApi {
|
|||
suspend fun getCustomEmojis(): NetworkResult<List<Emoji>>
|
||||
|
||||
@GET("api/v1/instance")
|
||||
suspend fun getInstance(): NetworkResult<Instance>
|
||||
suspend fun getInstance(@Header(DOMAIN_HEADER) domain: String? = null): NetworkResult<Instance>
|
||||
|
||||
@GET("api/v1/filters")
|
||||
fun getFilters(): Single<List<Filter>>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue