Skip to content

Fix new badge sometimes being hidden

Moves the New badge on the "Latest" screen over the icon for large cards and sets the card to wrap_content . This way the card doesn't need to reserve whitespace for the badge and can adjust better to different font sizes (users can change them system-wide and the app should work well with whatever the users sets).

On horizontal cards, the icon is moved below the icon for the same reason.

On the list item cards (that are the ones that span the whole width) I did not change anything because they can just grow to fit their content and don't need to reserve whitespace anyway.

I also fixed the warnings in the files I touched and reformatted them.

Screenshot_20240217_150922

Closes #2753 (closed)

Merge request reports