diff --git a/app/src/main/java/app/pachli/components/scheduled/ScheduledStatusActivity.kt b/app/src/main/java/app/pachli/components/scheduled/ScheduledStatusActivity.kt index 857f69b41..3989cd117 100644 --- a/app/src/main/java/app/pachli/components/scheduled/ScheduledStatusActivity.kt +++ b/app/src/main/java/app/pachli/components/scheduled/ScheduledStatusActivity.kt @@ -166,6 +166,7 @@ class ScheduledStatusActivity : sensitive = item.params.sensitive, kind = ComposeOptions.ComposeKind.EDIT_SCHEDULED, poll = item.params.poll, + language = item.params.language, ), ) startActivity(intent) diff --git a/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt b/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt index 52cad76a2..9c420ad98 100644 --- a/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt +++ b/core/network/src/main/kotlin/app/pachli/core/network/model/StatusParams.kt @@ -28,4 +28,5 @@ data class StatusParams( @Json(name = "spoiler_text") val spoilerText: String, @Json(name = "in_reply_to_id") val inReplyToId: String?, val poll: NewPoll?, + val language: String? = null, )