Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cameron-goddard committed Feb 29, 2024
1 parent 46292e3 commit 3c3023e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Minesweeper/Settings/BindingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ class BindingsViewController: NSViewController {
self.view.window?.title = "Key Bindings"
}


}
2 changes: 0 additions & 2 deletions Minesweeper/Settings/ThemeCellView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ class ThemeCellView: NSTableCellView {
if themeFavorite.state == .off {
themeFavorite.isHidden = true
}

// Drawing code here.
}

override func mouseEntered(with theEvent: NSEvent) {
Expand Down
2 changes: 0 additions & 2 deletions Minesweeper/Settings/ThemesViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ class ThemesViewController: NSViewController {

@IBAction func setThemeButtonPressed(_ sender: Any) {
NotificationCenter.default.post(name: Notification.Name("SetTheme"), object: themes[tableView.selectedRow].name)

}
}

Expand Down Expand Up @@ -146,7 +145,6 @@ extension ThemesViewController: NSTableViewDataSource {
// let numbersMirror = Mirror(reflecting: current.numbers)
let bordersMirror = Mirror(reflecting: current.borders)


let mirrors = [tilesMirror, mainButtonMirror, bordersMirror]

var assetLabels : [String] = []
Expand Down
1 change: 0 additions & 1 deletion Minesweeper/Util.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ class Util {

for theme in themes {
if theme == ".DS_Store" { continue }

let themePath = themesURL.appendingPathComponent(theme)

let name = toTheme(name: themePath.deletingPathExtension().lastPathComponent)
Expand Down

0 comments on commit 3c3023e

Please sign in to comment.