Fix SwiftUI code after the SDK 27 update.
Recent revisions are kept. Restoring one creates a new revision.