(contextTree *context.ContextTree)
| 659 | } |
| 660 | |
| 661 | func initialWindowViewNameMap(contextTree *context.ContextTree) *utils.ThreadSafeMap[string, string] { |
| 662 | result := utils.NewThreadSafeMap[string, string]() |
| 663 | |
| 664 | for _, context := range contextTree.Flatten() { |
| 665 | result.Set(context.GetWindowName(), context.GetViewName()) |
| 666 | } |
| 667 | |
| 668 | return result |
| 669 | } |
| 670 | |
| 671 | func initialScreenMode(startArgs appTypes.StartArgs, config config.AppConfigurer) types.ScreenMode { |
| 672 | if startArgs.ScreenMode != "" { |
no test coverage detected