mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
Move IgnoreWhitespaceInDiffView to AppState, and persist it when it changes
This commit is contained in:
@ -66,7 +66,7 @@ func (self *StashController) GetOnRenderToMain() func() error {
|
||||
task = types.NewRunPtyTask(
|
||||
self.c.Git().Stash.ShowStashEntryCmdObj(
|
||||
stashEntry.Index,
|
||||
self.c.State().GetIgnoreWhitespaceInDiffView(),
|
||||
self.c.GetAppState().IgnoreWhitespaceInDiffView,
|
||||
).GetCmd(),
|
||||
)
|
||||
}
|
||||
|
Reference in New Issue
Block a user