Add note wide mode for reposts

This adds a 'wide' note design for note previews. This is a mode
where the note contents does not have padding at the start. This makes
notes previews a bit nicer.

Screenshot: https://cdn.jb55.com/s/84271f386d564c34.png
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2024-07-10 09:53:51 -07:00
parent 61bc9d9919
commit af8d7d222c
3 changed files with 114 additions and 47 deletions

View File

@@ -92,6 +92,7 @@ fn render_note_preview(
ui::NoteView::new(app, &note)
.actionbar(false)
.small_pfp(true)
.wide(true)
.note_previews(false)
.show(ui);
})