damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 48e8c11929be844c798ec56e627009361c8166f0
parent 6ca6a76fdbe1b1226d8dec5bed3a354ea4367cf0
Author: kernelkind <kernelkind@gmail.com>
Date:   Wed, 31 Jan 2024 11:50:08 -0500

media: remove minWidth on Load Media formatting

Minimum width is not needed since we rely on maxWidth set to .infinity
to fill the screen bounds.

Lightning-address: kernelkind@getalby.com
Signed-off-by: kernelkind <kernelkind@gmail.com>
Reviewed-by: William Casarin <jb55@jb55.com>
Link: 20240131165008.61990-1-kernelkind@gmail.com
Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/NoteContentView.swift | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/damus/Views/NoteContentView.swift b/damus/Views/NoteContentView.swift @@ -197,7 +197,7 @@ struct NoteContentView: View { } } .background(DamusColors.neutral1) - .frame(minWidth: 200, maxWidth: .infinity, alignment: .center) + .frame(minWidth: nil, maxWidth: .infinity, alignment: .center) .cornerRadius(8) .overlay( RoundedRectangle(cornerRadius: 8)