mirror of
https://github.com/neon443/NearFuture.git
synced 2026-03-11 06:49:12 +00:00
mb gng
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user