gemenon

[ACTIVE] The Safari of the Gemini ecosystem
git clone git://git.figbert.com/gemenon.git
Log | Files | Refs

commit 8f3ad50a78acc86e82a92e5e876f8a50b8f3fcbb
parent c69e611013d23813c7d9977e41c3ee5a71473809
Author: FIGBERT <figbert@figbert.com>
Date:   Thu, 15 Sep 2022 16:33:10 -0700

Don't display empty quote lines

Diffstat:
MShared/CapsuleView.swift | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Shared/CapsuleView.swift b/Shared/CapsuleView.swift @@ -58,7 +58,9 @@ struct CapsuleView: View { case .UnorderedList(let str): Text("ยท \(str)") case .Quote(let str): - Text("\"\(str)\"") + if !str.isEmpty { + Text("\"\(str)\"") + } case .EmptyLine: EmptyView() }