diff --git a/main.go b/main.go index 43d1431..16755ea 100644 --- a/main.go +++ b/main.go @@ -94,7 +94,7 @@ func onPullRequestModalClickedHandler(ok bool) { func onGetPullRequestHandler(prContents string) { - prContents = critic.ShortenLongLines(prContents, "\n\n") + // prContents = critic.ShortenLongLines(prContents, "\n\n") // Set the diff text criticWindow.DiffPanel.SetDiffText(prContents) diff --git a/ui/components/panel_diff.go b/ui/components/panel_diff.go index 1e3f137..e0b754e 100644 --- a/ui/components/panel_diff.go +++ b/ui/components/panel_diff.go @@ -30,7 +30,7 @@ func NewDiffPanel(size fyne.Size, text string) *DiffPanel { Canvas: scrollableParent, TextGrid: grid, Size: newSize, - MaxLines: 100, + MaxLines: 500, } return panel.SetDiffText(text)