Skip to content

Commit

Permalink
home: fixed crash on selecting a VM
Browse files Browse the repository at this point in the history
Fixes #5481
  • Loading branch information
osy committed Jul 19, 2023
1 parent 85f1e8e commit f7c38dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/Shared/VMDetailsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ struct VMDetailsView: View {
.padding([.leading, .trailing, .bottom])
}
#else
let qemuVM = vm as! UTMQemuVirtualMachine
let qemuVM = vm.wrapped as! UTMQemuVirtualMachine
VMRemovableDrivesView(vm: vm, config: qemuVM.config)
.padding([.leading, .trailing, .bottom])
#endif
Expand Down

0 comments on commit f7c38dc

Please sign in to comment.