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:
Konrad Pozniak 2022-11-05 17:37:20 +01:00 committed by GitHub
commit 8e9b356074
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 152 additions and 8 deletions

View file

@ -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>>