Explorar el Código

Rename embedded browser toolbar button from Done to Home

The dismiss control label now reads Home, and the doc comment matches.

Co-authored-by: Cursor <cursoragent@cursor.com>
AhtashamShahzad1 hace 2 meses
padre
commit
0e5ff3721d

+ 2 - 2
App for Indeed/Controllers/IndeedJobBrowserWindowController.swift

@@ -8,7 +8,7 @@ import WebKit
 
 /// Indeed job listing and apply flow in a `WKWebView`, embedded in the dashboard main panel or hosted in a window.
 final class IndeedJobBrowserViewController: NSViewController, WKNavigationDelegate, WKUIDelegate {
-    /// When set, a leading **Done** control calls this so the host can hide the embedded browser (same-window UX).
+    /// When set, a leading **Home** control calls this so the host can hide the embedded browser (same-window UX).
     var onDismissEmbedded: (() -> Void)?
     private let webView: WKWebView = {
         let configuration = WKWebViewConfiguration()
@@ -21,7 +21,7 @@ final class IndeedJobBrowserViewController: NSViewController, WKNavigationDelega
     private let backButton = NSButton()
     private let forwardButton = NSButton()
     private let reloadButton = NSButton()
-    private let dismissEmbeddedButton = NSButton(title: "Done", target: nil, action: nil)
+    private let dismissEmbeddedButton = NSButton(title: "Home", target: nil, action: nil)
 
     override func loadView() {
         view = NSView(frame: NSRect(x: 0, y: 0, width: 920, height: 720))