Skip to content

Commit

Permalink
Employed private for the relevant things.
Browse files Browse the repository at this point in the history
  • Loading branch information
grigorye committed Dec 3, 2023
1 parent 35dd52b commit 616dbb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions URLHelperApp/WriteAccessFacilitator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
import AppKit
import Foundation

let fileManager = FileManager()
private let fileManager = FileManager()

var appName: String {
private var appName: String {
Bundle.main.object(forInfoDictionaryKey: "CFBundleDisplayName") as? String ?? fileManager.displayName(atPath: Bundle.main.bundlePath)
}

Expand Down

0 comments on commit 616dbb3

Please sign in to comment.