Skip to content

Commit

Permalink
Downgraded KeyboardShortcuts to 1.4.0, because higher versions requir…
Browse files Browse the repository at this point in the history
…e xcode 13.3
  • Loading branch information
ivoronin committed Apr 23, 2022
1 parent 7446b62 commit 5ee7e0b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion TomatoBar.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
repositoryURL = "https://github.com/sindresorhus/KeyboardShortcuts";
requirement = {
kind = exactVersion;
version = 1.5.0;
version = 1.4.0;
};
};
/* End XCRemoteSwiftPackageReference section */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/sindresorhus/KeyboardShortcuts",
"state" : {
"revision" : "0dcedd56994d871f243f3d9c76590bfd9f8aba69",
"version" : "1.5.0"
"revision" : "9bc72c441c713362a137ecbb4104920655a9aa5e",
"version" : "1.4.0"
}
},
{
Expand Down
3 changes: 2 additions & 1 deletion TomatoBar/View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,10 @@ private struct SettingsView: View {

var body: some View {
VStack {
KeyboardShortcuts.Recorder(for: .startStopTimer) {
HStack {
Text("Shortcut")
.frame(maxWidth: .infinity, alignment: .leading)
KeyboardShortcuts.Recorder(for: .startStopTimer)
}
Toggle(isOn: $timer.stopAfterBreak) {
Text("Stop after break")
Expand Down

0 comments on commit 5ee7e0b

Please sign in to comment.