From b88a006c00641626b46d7febf06d69bddba1ee53 Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Tue, 5 Apr 2022 20:40:10 +0530 Subject: [PATCH] removed unnecessary value of y --- MVMCoreUI/Atomic/Atoms/Buttons/Link/Link.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atomic/Atoms/Buttons/Link/Link.swift b/MVMCoreUI/Atomic/Atoms/Buttons/Link/Link.swift index 553b36d2..54751274 100644 --- a/MVMCoreUI/Atomic/Atoms/Buttons/Link/Link.swift +++ b/MVMCoreUI/Atomic/Atoms/Buttons/Link/Link.swift @@ -29,7 +29,7 @@ import UIKit let x = textRect.origin.x // Line is 0 point below the text - let y = textRect.origin.y + textRect.size.height + 0 + let y = textRect.origin.y + textRect.size.height context.move(to: CGPoint(x: x, y: y)) context.addLine(to: CGPoint(x: x + textRect.size.width, y: y))