Skip to content
  • Torsten Grote's avatar
    a7c28f04
    Make original author look like commenter when reblogged · a7c28f04
    Torsten Grote authored
    This wasn't as simple as changing the persona in the XML,
    because the same layout is used for a post whether reblogged or not.
    So the persona needs to be changed programmatically for reblogged posts.
    For this, the `AuthorView#setPersona()` method has been made public and
    was changed to always set all views into the desired state to support
    usage in a RecyclerView.
    a7c28f04
    Make original author look like commenter when reblogged
    Torsten Grote authored
    This wasn't as simple as changing the persona in the XML,
    because the same layout is used for a post whether reblogged or not.
    So the persona needs to be changed programmatically for reblogged posts.
    For this, the `AuthorView#setPersona()` method has been made public and
    was changed to always set all views into the desired state to support
    usage in a RecyclerView.
Loading