Skip to content
This repository was archived by the owner on Jul 4, 2020. It is now read-only.

Change ActionContainer Array to be ActionContainer #7

Closed
wants to merge 2 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add trailing commas
a2 committed Dec 24, 2018
commit 6fca6eae077a1d487e09b0fdeafb562f52786ab3
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ let shortcut = buildShortcut([
showResult("Your battery is at \(batteryLevel)%, you might want to charge it."),
], ifFalse: (
showResult("Your battery is at \(batteryLevel)%, you're probably fine for now.")
))
)),
])

shareShortcut(shortcut, named: "Warn for Low Battery Level")
Original file line number Diff line number Diff line change
@@ -6,7 +6,7 @@ let shortcut = buildShortcut([
chooseFromMenu(items: [
("Share", share()),
("Copy to Clipboard", copyToClipboard()),
])
]),
])

shareShortcut(shortcut, named: "Clap Along")