Repository: utmapp/UTM
File: Platform/Shared/VMDetailsView.swift (Swift)

Code before:
                                .fixedSize(horizontal: false, vertical: true)
                        }
                        VMRemovableDrivesView(vm: vm)
                    }.padding([.leading, .trailing, .bottom])
                }
            }.labelStyle(DetailsLabelStyle())
            .navigationTitle(vm.configuration.name)
            .modifier(VMToolbarModifier(vm: vm, bottom: !regularScreenSizeClass))
            .sheet(isPresented: $data.showSettingsModal) {
                VMSettingsView(vm: vm, config: vm.configuration)
                    .environmentObject(data)
            }
        }
    }
}

@available(iOS 14, macOS 11, *)
struct Screenshot: View {
    let vm: UTMVirtualMachine
    let large: Bool
    @EnvironmentObject private var data: UTMData
    
    @State private var commandDown = false
    
    #if os(macOS)
    private var playImageName: String { commandDown ? "play.circle" : "play.circle.fill" }
    #else
    private var playImageName: String { "play.circle.fill" }
    #endif
    
    var body: some View {
        ZStack {
            Rectangle()
                .fill(Color.black)
            if vm.screenshot?.image != nil {
                #if os(macOS)
                Image(nsImage: vm.screenshot!.image!)
                    .resizable()
                    .aspectRatio(contentMode: .fit)
                #else
                Image(uiImage: vm.screenshot!.image!)
                    .resizable()
                    .aspectRatio(contentMode: .fit)
                #endif
            }
            Rectangle()
                .fill(Color(red: 230/255, green: 229/255, blue: 235/255))
                .blendMode(.hardLight)
            Button(action: { data.run(vm: vm, runAsSnapshot: commandDown) }, label: {
                Label("Run", systemImage: playImageName)
                    .labelStyle(IconOnlyLabelStyle())

Review comment (suggestion):
same as above; use `play.rectangle` for play-as-snapshot; meaning for filled use `play.rectangle.fill`

Also please change it to option instead of command key. In many apps incl. Finder you get alternative features from buttons while holding option/alt. ⌥ 

Code after:
                    VMRemovableDrivesView(vm: vm as! UTMQemuVirtualMachine)
                        .padding([.leading, .trailing, .bottom])
                    #endif
                } else {
                    VStack {
                        Details(vm: vm, sizeLabel: sizeLabel)
                        if !notes.isEmpty {
                            Text(notes)
                                .font(.body)
                                .fixedSize(horizontal: false, vertical: true)
                        }
                        #if os(macOS)
                        if let appleVM = vm as? UTMAppleVirtualMachine {
                            VMAppleRemovableDrivesView(vm: appleVM, config: appleVM.appleConfig)
                        } else if let qemuVM = vm as? UTMQemuVirtualMachine {
                            VMRemovableDrivesView(vm: qemuVM)
                        }
                        #else
                        VMRemovableDrivesView(vm: vm as! UTMQemuVirtualMachine)
                        #endif
                    }.padding([.leading, .trailing, .bottom])
                }
            }.labelStyle(DetailsLabelStyle())
            .modifier(VMOptionalNavigationTitleModifier(vm: vm))
            .modifier(VMToolbarModifier(vm: vm, bottom: !regularScreenSizeClass))
            .sheet(isPresented: $data.showSettingsModal) {
                #if os(macOS)
                if let appleVM = vm as? UTMAppleVirtualMachine {
                    VMSettingsView(vm: appleVM, config: appleVM.appleConfig)
                        .environmentObject(data)
                } else if let qemuVM = vm as? UTMQemuVirtualMachine {
                    VMSettingsView(vm: qemuVM, config: qemuVM.qemuConfig)
                        .environmentObject(data)
                }
                #else
                VMSettingsView(vm: vm as! UTMQemuVirtualMachine, config: vm.config as! UTMQemuConfiguration)
                    .environmentObject(data)
                #endif
            }
        }
    }
}

/// Returns just the content under macOS but adds the title on iOS. #3099
@available(iOS 14, macOS 11, *)
private struct VMOptionalNavigationTitleModifier: ViewModifier {
    @ObservedObject var vm: UTMVirtualMachine
    
    func body(content: Content) -> some View {
        #if os(macOS)
        return content.navigationSubtitle(vm.detailsTitleLabel)