Skip to content

Commit

Permalink
Rename command
Browse files Browse the repository at this point in the history
  • Loading branch information
vincode-io committed Sep 14, 2024
1 parent 51f4513 commit 3512d31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import Foundation

public final class GroupCommand: OutlineCommand {
public final class GroupRowsCommand: OutlineCommand {

var newRow: Row
var rows: [Row]
Expand Down
12 changes: 6 additions & 6 deletions Zavala/Editor/EditorViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3479,12 +3479,12 @@ private extension EditorViewController {
func groupRows(_ rows: [Row], rowStrings: RowStrings? = nil) {
guard let undoManager, let outline else { return }

let command = GroupCommand(actionName: .groupRowsControlLabel,
undoManager: undoManager,
delegate: self,
outline: outline,
rows: rows,
rowStrings: rowStrings)
let command = GroupRowsCommand(actionName: .groupRowsControlLabel,
undoManager: undoManager,
delegate: self,
outline: outline,
rows: rows,
rowStrings: rowStrings)

command.execute()
}
Expand Down

0 comments on commit 3512d31

Please sign in to comment.