Enable setting the default posting language from Tusky (#2946)
* Extract locale utils * Extract makeIcon * Allow setting the (server-synchronized) default posting language from Tusky. Closes #2902 * Add copyright headers * Address review feedback
This commit is contained in:
parent
cc790ccf69
commit
588307f7a1
10 changed files with 190 additions and 80 deletions
|
|
@ -267,7 +267,8 @@ interface MastodonApi {
|
|||
@PATCH("api/v1/accounts/update_credentials")
|
||||
fun accountUpdateSource(
|
||||
@Field("source[privacy]") privacy: String?,
|
||||
@Field("source[sensitive]") sensitive: Boolean?
|
||||
@Field("source[sensitive]") sensitive: Boolean?,
|
||||
@Field("source[language]") language: String?,
|
||||
): Call<Account>
|
||||
|
||||
@Multipart
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue