From a788f9080ddf319f353ded75891807a4a82e51e9 Mon Sep 17 00:00:00 2001 From: Abhishek Banthia <8280282+n0shake@users.noreply.github.com> Date: Wed, 20 Apr 2022 09:03:54 -0400 Subject: [PATCH] Use constants. --- .../Preferences/App Feedback/AppFeedbackWindowController.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift index a351edc..05ef776 100644 --- a/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift +++ b/Clocker/Preferences/App Feedback/AppFeedbackWindowController.swift @@ -18,7 +18,6 @@ extension NSNib.Name { } enum AppFeedbackConstants { - static let CLAppFeedbackNibIdentifier = "AppFeedbackWindow" static let CLAppFeedbackNoResponseString = "Not Provided" static let CLAppFeedbackNameProperty = "name" static let CLAppFeedbackEmailProperty = "email" @@ -256,7 +255,7 @@ class AppFeedbackWindowController: NSWindowController { isActivityInProgress = false let alert = NSAlert() - alert.messageText = "Thank you for helping make Clocker even better!" + alert.messageText = AppFeedbackConstants.CLFeedbackAlertTitle alert.informativeText = AppFeedbackConstants.CLFeedbackAlertInformativeText alert.addButton(withTitle: AppFeedbackConstants.CLFeedbackAlertButtonTitle) alert.beginSheetModal(for: feedbackWindow) { _ in