Skip to content

Commit

Permalink
finish the main file refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
erikng committed Jan 9, 2024
1 parent b591cab commit 6908fbe
Show file tree
Hide file tree
Showing 2 changed files with 464 additions and 363 deletions.
3 changes: 1 addition & 2 deletions Nudge/UI/Defaults.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ var nudgeLogState = LogState()
struct Globals {
static let bundle = Bundle.main
static let bundleID = bundle.bundleIdentifier ?? "com.github.macadmins.Nudge"
static let dnc = DistributedNotificationCenter.default()
static let nc = NotificationCenter.default
static let snc = NSWorkspace.shared.notificationCenter
// Preferences
Expand Down Expand Up @@ -47,7 +46,7 @@ struct UIConstants {
static let screenshotMaxHeight: CGFloat = 120
static let screenshotTopPadding: CGFloat = 28
static let serialNumber = DeviceManager().getSerialNumber()
static let windowDelegate = AppDelegate.WindowDelegate()
static let windowDelegate = WindowDelegate()

var declaredWindowHeight: CGFloat = 450
var declaredWindowWidth: CGFloat = 900
Expand Down
Loading

0 comments on commit 6908fbe

Please sign in to comment.