Skip to content

Commit

Permalink
fix: iOS build cannot find useNvmeAsDiskInterface if defined in macro
Browse files Browse the repository at this point in the history
  • Loading branch information
gnattu committed Dec 10, 2023
1 parent 6c02a1a commit 36da88d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/Shared/VMWizardState.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@ enum VMWizardOS: String, Identifiable {
#if os(macOS)
@Published var systemMemoryMib: Int = 4096
@Published var storageSizeGib: Int = 64
@Published var useNvmeAsDiskInterface = false
#else
@Published var systemMemoryMib: Int = 512
@Published var storageSizeGib: Int = 8
Expand All @@ -130,6 +129,7 @@ enum VMWizardOS: String, Identifiable {
@Published var sharingReadOnly: Bool = false
@Published var name: String?
@Published var isOpenSettingsAfterCreation: Bool = false
@Published var useNvmeAsDiskInterface = false

/// SwiftUI BUG: on macOS 12, when VoiceOver is enabled and isBusy changes the disable state of a button being clicked,
var isNeverDisabledWorkaround: Bool {
Expand Down

0 comments on commit 36da88d

Please sign in to comment.