diff --git a/writeas/AppDelegate.swift b/writeas/AppDelegate.swift
index 9b97019..1fba032 100644
--- a/writeas/AppDelegate.swift
+++ b/writeas/AppDelegate.swift
@@ -69,6 +69,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {
}
}
+ @IBAction func fileClose(_ sender: Any) {
+ NSApplication.shared().mainWindow!.close()
+ }
+
@IBAction func toggleNightMode(_ sender: NSMenuItem) {
let isOff = sender.state == NSOffState
diff --git a/writeas/Base.lproj/Main.storyboard b/writeas/Base.lproj/Main.storyboard
index b434b61..6d410be 100644
--- a/writeas/Base.lproj/Main.storyboard
+++ b/writeas/Base.lproj/Main.storyboard
@@ -83,6 +83,12 @@
+
+