Skip to content

Commit

Permalink
Improve function name consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Apr 21, 2020
1 parent ad2c820 commit 24ccdc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Glance/UsageStackView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ class UsageStackView: NSStackView {
override func draw(_ dirtyRect: NSRect) {
super.draw(dirtyRect)

configure()
setUpView()
}

func configure() {
func setUpView() {
wantsLayer = true
if #available(OSX 10.14, *) {
self.layer?.backgroundColor = NSColor.alternatingContentBackgroundColors[0].cgColor
Expand Down
4 changes: 2 additions & 2 deletions QLPlugin/MainVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class MainVC: NSViewController, QLPreviewingController {

override func viewDidLoad() {
super.viewDidLoad()
configureView()
setUpView()
}

private func configureView() {
private func setUpView() {
// Draw border around previews, in similar style to macOS's default previews
view.wantsLayer = true
view.layer?.borderWidth = 1
Expand Down

0 comments on commit 24ccdc6

Please sign in to comment.