kopia lustrzana https://github.com/cheeaun/phanpy
Changed the Content Warning field to be shown based solely on whether there is already a content warning on the toot being replied to.
rodzic
8e49152f77
commit
dd34cf1251
|
@ -328,7 +328,7 @@ function Compose({
|
|||
prefs['posting:default:language']?.toLowerCase() ||
|
||||
DEFAULT_LANG,
|
||||
);
|
||||
setSensitive(sensitive || spoilerText);
|
||||
setSensitive(!!spoilerText);
|
||||
} else if (editStatus) {
|
||||
const { visibility, language, sensitive, poll, mediaAttachments } =
|
||||
editStatus;
|
||||
|
|
Ładowanie…
Reference in New Issue