diff options
Diffstat (limited to 'pkg/gui/layout.go')
-rw-r--r-- | pkg/gui/layout.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkg/gui/layout.go b/pkg/gui/layout.go index 52dbbe10c..c6e272ccd 100644 --- a/pkg/gui/layout.go +++ b/pkg/gui/layout.go @@ -375,6 +375,15 @@ func (gui *Gui) onInitialViewsCreation() error { return err } + if !gui.Config.GetUserConfig().DisableStartupPopups { + popupTasks := []func(chan struct{}) error{} + storedPopupVersion := gui.Config.GetAppState().StartupPopupVersion + if storedPopupVersion < StartupPopupVersion { + popupTasks = append(popupTasks, gui.showIntroPopupMessage) + } + gui.showInitialPopups(popupTasks) + } + if gui.showRecentRepos { if err := gui.handleCreateRecentReposMenu(); err != nil { return err |