diff --git a/DNSecure/Views/LazyTextField.swift b/DNSecure/Views/LazyTextField.swift index d030845..2e9a426 100644 --- a/DNSecure/Views/LazyTextField.swift +++ b/DNSecure/Views/LazyTextField.swift @@ -28,6 +28,7 @@ extension LazyTextField: View { if self.isFocused && !self.localText.isEmpty { Button("Clear", systemImage: "xmark.circle.fill") { self.text.removeAll() + self.localText.removeAll() } .foregroundStyle(Color.primary) .opacity(0.2)