-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3885574
commit fd57c0d
Showing
5 changed files
with
173 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 29 additions & 22 deletions
51
ToDoBar.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,32 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "Defaults", | ||
"repositoryURL": "https://github.com/sindresorhus/Defaults", | ||
"state": { | ||
"branch": "main", | ||
"revision": "981ccb0a01c54abbe3c12ccb8226108527bbf115", | ||
"version": null | ||
} | ||
}, | ||
{ | ||
"package": "HotKey", | ||
"repositoryURL": "https://github.com/soffes/HotKey", | ||
"state": { | ||
"branch": "master", | ||
"revision": "c13662730cb5bc28de4a799854bbb018a90649bf", | ||
"version": null | ||
} | ||
"pins" : [ | ||
{ | ||
"identity" : "defaults", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/sindresorhus/Defaults", | ||
"state" : { | ||
"branch" : "main", | ||
"revision" : "981ccb0a01c54abbe3c12ccb8226108527bbf115" | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
}, | ||
{ | ||
"identity" : "hotkey", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/soffes/HotKey", | ||
"state" : { | ||
"branch" : "master", | ||
"revision" : "c13662730cb5bc28de4a799854bbb018a90649bf" | ||
} | ||
}, | ||
{ | ||
"identity" : "launchatlogin", | ||
"kind" : "remoteSourceControl", | ||
"location" : "https://github.com/sindresorhus/LaunchAtLogin", | ||
"state" : { | ||
"branch" : "main", | ||
"revision" : "7ad6331f9c38953eb1ce8737758e18f7607e984a" | ||
} | ||
} | ||
], | ||
"version" : 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// | ||
// AboutView.swift | ||
// ToDoBar | ||
// | ||
// Created by Pavel Makhov on 2023-07-07. | ||
// | ||
|
||
import SwiftUI | ||
|
||
struct AboutView: View { | ||
let currentVersion = Bundle.main.object(forInfoDictionaryKey: "CFBundleShortVersionString") as! String | ||
|
||
var body: some View { | ||
VStack { | ||
Image(nsImage: NSImage(named: "AppIcon")!) | ||
Text("ToDoBar").font(.title) | ||
Text("by Pavel Makhov").font(.caption) | ||
Text("version " + currentVersion).font(.footnote) | ||
Divider() | ||
Link("ToDoBar on GitHub", destination: URL(string: "https://github.com/menubar-apps/ToDoBar")!) | ||
|
||
}.padding() | ||
} | ||
} | ||
|
||
struct AboutView_Previews: PreviewProvider { | ||
static var previews: some View { | ||
AboutView() | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.