Restore changes reverted in previous beta.

This commit is contained in:
Brent Simmons
2025-05-09 20:30:04 -07:00
parent 0a9c323dfc
commit 4d930dd5e4
12 changed files with 216 additions and 85 deletions

View File

@@ -25,6 +25,16 @@ class ImageViewController: UIViewController {
return imageScrollView.zoomedFrame
}
override var keyCommands: [UIKeyCommand]? {
return [
UIKeyCommand(
title: NSLocalizedString("Close Image", comment: "Close Image"),
action: #selector(done(_:)),
input: " "
)
]
}
override func viewDidLoad() {
super.viewDidLoad()