damus

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

commit f149368ac26e6fda9e0921712e4e3393a35df984
parent d6ef1c40197c7bfe716942a9062dcd5864fd1343
Author: James Carucci <jim.carucci@northstarbis.com>
Date:   Tue,  9 Aug 2022 10:05:07 -0700

Show text if there are no DMs

Signed-off-by: William Casarin <jb55@jb55.com>

Diffstat:
Mdamus/Views/DMChatView.swift | 6++++++
1 file changed, 6 insertions(+), 0 deletions(-)

diff --git a/damus/Views/DMChatView.swift b/damus/Views/DMChatView.swift @@ -132,6 +132,12 @@ struct DMChatView: View { Footer } + Text("Send a message to start the conversation...") + .lineLimit(nil) + .multilineTextAlignment(.center) + .padding(.horizontal, 40) + .opacity(((dms.events.count == 0) ? 1.0 : 0.0)) + .foregroundColor(.gray) } .navigationTitle("DM") .toolbar { Header }