fix: show media sensitive button even if a CW is present

This commit is contained in:
LucasGGamerM
2023-10-14 10:26:57 -03:00
parent dafe233315
commit 8a5b881a57

View File

@@ -1537,7 +1537,7 @@ public class ComposeFragment extends MastodonToolbarFragment implements OnBackPr
public void updateSensitive() {
sensitiveBtn.setVisibility(View.GONE);
if (!mediaViewController.isEmpty() && !hasSpoiler) sensitiveBtn.setVisibility(View.VISIBLE);
if (!mediaViewController.isEmpty()) sensitiveBtn.setVisibility(View.VISIBLE);
if (mediaViewController.isEmpty()) sensitive = false;
}