Ensure media are marked sensitive any time there's a content warning (#1728)
Addresses the most critical part of #1725, and may also apply to #1721
This commit is contained in:
parent
6a87e3e352
commit
9c4898117e
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ class ComposeViewModel
|
||||||
content,
|
content,
|
||||||
spoilerText,
|
spoilerText,
|
||||||
statusVisibility.value!!.serverString(),
|
statusVisibility.value!!.serverString(),
|
||||||
mediaUris.isNotEmpty() && markMediaAsSensitive.value!!,
|
mediaUris.isNotEmpty() && (markMediaAsSensitive.value!! || showContentWarning.value!!),
|
||||||
mediaIds,
|
mediaIds,
|
||||||
mediaUris.map { it.toString() },
|
mediaUris.map { it.toString() },
|
||||||
mediaDescriptions,
|
mediaDescriptions,
|
||||||
|
|
Loading…
Reference in a new issue