@inherits LocalizableComponentBase
@* How the current persona reads what others post: Mastodon's reading preferences (reading:expand:media and
reading:expand:spoilers), which Mastodon's API only reads (/api/v1/preferences). PrivaPub keeps them for each persona
and sets them through /clientapi/avatar/private/preferences, so other apps signed in as the persona read them too. The
cards here follow them as soon as they are saved (CascadingState.Preferences): which media wait behind a button, and
whether a content warning starts open. *@
@if (IsLoading)
{
@Localizer["loading"]
}
else if (CascadingState.PersonaId is null)
{
@Localizer["No persona"]
}
else
{
@Localizer["Kept for this persona on the server: other apps signed in as it read them too."]