From 8c8c0506ff80a794636147ce7649be772ba9170d Mon Sep 17 00:00:00 2001 From: Roman Schlagowsky Date: Mon, 19 Feb 2024 14:00:29 +0100 Subject: [PATCH] code --- Example/Example App/ContentView.swift | 2 +- Sources/StreamDeckSimulator/StreamDeckSimulator.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Example/Example App/ContentView.swift b/Example/Example App/ContentView.swift index 8c9f5a45..b4ab6bc9 100644 --- a/Example/Example App/ContentView.swift +++ b/Example/Example App/ContentView.swift @@ -27,7 +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)") diff --git a/Sources/StreamDeckSimulator/StreamDeckSimulator.swift b/Sources/StreamDeckSimulator/StreamDeckSimulator.swift index 9ef04f6b..316c5076 100644 --- a/Sources/StreamDeckSimulator/StreamDeckSimulator.swift +++ b/Sources/StreamDeckSimulator/StreamDeckSimulator.swift @@ -55,7 +55,7 @@ public final class StreamDeckSimulator { close(); guard let scene = activeScene else { - return } + return } lastSelectedProduct = product