Skip to content
Snippets Groups Projects
Commit ff9f899e authored by cruxfilm's avatar cruxfilm
Browse files

Ready to merge?

parent c02a3995
No related branches found
No related tags found
1 merge request!81Resolve "Add Pull to Refresh to MailListView" & Redesign ContactView
......@@ -52,6 +52,7 @@ struct MailRowView <M: DisplayMail>: View {
.frame(height: 65)
}
private var avatar: some View {
mail.sender.avatar
.resizable()
......@@ -61,22 +62,6 @@ struct MailRowView <M: DisplayMail>: View {
}
}
struct MailRow_Previews: PreviewProvider {
static var previews: some View {
MailRowView(mail: ProxyData.PlainMail)
.previewLayout(.sizeThatFits)
=======
.if(activateOnTap, input: {$0.onTapGesture(count: 1, perform: {isLinkActive = true})
.background(
NavigationLink(destination: ContactView(contact: mail.sender), isActive: $isLinkActive) {
EmptyView()
}
.hidden()
)})
}
}
// A conditional view modifier
extension View {
@ViewBuilder
......@@ -92,6 +77,5 @@ extension View {
struct MailRowView_Previews: PreviewProvider {
static var previews: some View {
MailRowView(mail: ProxyData.PlainMail)
>>>>>>> 290+Dev
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment