replaced 'screenMode' to 'windowSize' in config

This commit is contained in:
Phanindra kumar Paladi 2023-01-16 20:07:21 +05:30
parent f4ccb68464
commit a11e91e651
3 changed files with 4 additions and 4 deletions

View file

@ -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":