aboutsummaryrefslogtreecommitdiffstats
path: root/commands/patch/rebase.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/patch/rebase.go')
-rw-r--r--commands/patch/rebase.go10
1 files changed, 1 insertions, 9 deletions
diff --git a/commands/patch/rebase.go b/commands/patch/rebase.go
index 6ef43299..65aa580a 100644
--- a/commands/patch/rebase.go
+++ b/commands/patch/rebase.go
@@ -117,18 +117,10 @@ func (r Rebase) Execute(args []string) error {
return err
}
- app.AddDialog(app.NewDialog(
+ app.AddDialog(app.LargeDialog(
ui.NewBox(viewer, fmt.Sprintf("Patch Rebase on %-6.6s", baseID), "",
app.SelectedAccountUiConfig(),
),
- // start pos on screen
- func(h int) int {
- return h / 8
- },
- // dialog height
- func(h int) int {
- return h - 2*h/8
- },
))
return nil