From 7471f06c525985b2a45b4a08136817682e1845a7 Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Tue, 5 Dec 2023 14:47:52 +0100 Subject: [PATCH] Don't use links until bug is fixed --- ResumeBuilder/Main Elements/TopView.swift | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/ResumeBuilder/Main Elements/TopView.swift b/ResumeBuilder/Main Elements/TopView.swift index f613169..05520fb 100644 --- a/ResumeBuilder/Main Elements/TopView.swift +++ b/ResumeBuilder/Main Elements/TopView.swift @@ -53,25 +53,29 @@ struct TopView: View { lineWidth: style.imageBorderWidth) VStack(alignment: .trailing) { LeftImageLabel(systemSymbol: .globe) { - Link(info.web, destination: URL(string: "https://" + info.web)!) + Text(info.web) + //Link(info.web, destination: URL(string: "https://" + info.web)!) } .frame(maxHeight: style.iconHeight) Spacer() LeftImageLabel(systemSymbol: .envelope) { - Link(info.email, destination: URL(string: "mailto:" + info.email)!) - .disabled(!isValidEmail) + Text(info.email) + //Link(info.email, destination: URL(string: "mailto:" + info.email)!) + //.disabled(!isValidEmail) } .frame(maxHeight: style.iconHeight) Spacer() LeftImageLabel(systemSymbol: .phone) { - Link(info.phone, destination: URL(string: "tel:" + info.phone)!) - .disabled(!isValidPhoneNumber) + Text(info.phone) + //Link(info.phone, destination: URL(string: "tel:" + info.phone)!) + //.disabled(!isValidPhoneNumber) } .frame(maxHeight: style.iconHeight) Spacer() HStack(spacing: 0) { Spacer() - Link(info.github, destination: URL(string: "https://" + info.github)!) + Text(info.github) + //Link(info.github, destination: URL(string: "https://" + info.github)!) Image("Github") .resizable() .aspectRatio(1.0, contentMode: .fit)