This commit is contained in:
neon443
2025-06-23 18:25:56 +01:00
parent 4629d4f75f
commit 899304833c
2 changed files with 0 additions and 2 deletions

View File

@@ -496,7 +496,6 @@ func getBuildID() -> String {
return "\(build)" return "\(build)"
} }
@MainActor
func getDevice() -> (sf: String, label: String) { func getDevice() -> (sf: String, label: String) {
#if canImport(UIKit) #if canImport(UIKit)
let asi = ProcessInfo().isiOSAppOnMac let asi = ProcessInfo().isiOSAppOnMac

View File

@@ -38,7 +38,6 @@ class SettingsViewModel: ObservableObject {
@Published var device: (sf: String, label: String) @Published var device: (sf: String, label: String)
@MainActor
init(load: Bool = true) { init(load: Bool = true) {
self.device = getDevice() self.device = getDevice()
if load { if load {