summaryrefslogtreecommitdiffstats
path: root/pkg/gui/gui.go
diff options
context:
space:
mode:
authorPhanindra kumar Paladi <phanindrakumar.paladi@gmail.com>2023-01-16 20:07:21 +0530
committerPhanindra kumar Paladi <phanindrakumar.paladi@gmail.com>2023-01-16 20:07:21 +0530
commita11e91e6517baf18d3300b393805e815fd3aba49 (patch)
tree93b3c8dddabed82e3a47dec09b0e3fbed2f92c90 /pkg/gui/gui.go
parentf4ccb684642516f1e9a96ed511a746cde50d0dfb (diff)
replaced 'screenMode' to 'windowSize' in config
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r--pkg/gui/gui.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go
index ddcc30ea8..bcc3400e3 100644
--- a/pkg/gui/gui.go
+++ b/pkg/gui/gui.go
@@ -311,9 +311,9 @@ func initialScreenMode(startArgs appTypes.StartArgs, config config.AppConfigurer
if startArgs.FilterPath != "" || startArgs.GitArg != appTypes.GitArgNone {
return SCREEN_HALF
} else {
- defaultScreenMode := config.GetUserConfig().Gui.ScreenMode
+ defaultWindowSize := config.GetUserConfig().Gui.WindowSize
- switch defaultScreenMode {
+ switch defaultWindowSize {
case "half":
return SCREEN_HALF
case "full":