SetSize sets the dialog dimensions.
(width, height int)
| 60 | |
| 61 | // SetSize sets the dialog dimensions. |
| 62 | func (b *BranchWarning) SetSize(width, height int) { |
| 63 | b.width = width |
| 64 | b.height = height |
| 65 | } |
| 66 | |
| 67 | // SetContext sets the branch, PRD context, and worktree path for the warning. |
| 68 | func (b *BranchWarning) SetContext(currentBranch, prdName, worktreePath string) { |
no outgoing calls