Skip to content

Commit

Permalink
display(iOS): fix build for visionOS
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Aug 23, 2024
1 parent a74a93b commit 08d2ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Platform/iOS/Display/VMDisplayTerminalViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ extension VMDisplayTerminalViewController {
{
if #available(iOS 15.0, *), useAutoLayout {
#if os(visionOS)
let inputAccessoryHeight = 0
let inputAccessoryHeight: CGFloat = 0
#else
let inputAccessoryHeight = terminalView.inputAccessoryView?.frame.height ?? 0
#endif
Expand Down

0 comments on commit 08d2ab2

Please sign in to comment.