Skip to content

Commit

Permalink
intentional warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
r-dent committed Feb 19, 2024
1 parent 67c79bf commit 2ccd742
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Run tests"
run-name: Running tests
on: [push]
on: [pull_request]
jobs:
run-tests:
runs-on: macos-14
Expand Down
3 changes: 1 addition & 2 deletions Example/Example App/ContentView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ struct ContentView: View {
Button("Start the Stream Deck Simulator") {
StreamDeckSimulator.show(streamDeck: .mini)
}
} else {
ForEach(devices) { device in
} else { ForEach(devices) { device in
VStack(alignment: .leading) {
Text("__\(device.info.productName)__")
Text("Serial: \(device.info.serialNumber)")
Expand Down
5 changes: 3 additions & 2 deletions Sources/StreamDeckSimulator/StreamDeckSimulator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,10 @@ public final class StreamDeckSimulator {
}

private func showSimulator(_ product: StreamDeckProduct) {
close()
close();

guard let scene = activeScene else { return }
guard let scene = activeScene else {
return }

lastSelectedProduct = product

Expand Down

0 comments on commit 2ccd742

Please sign in to comment.