diff options
author | mjarkk <mkopenga@gmail.com> | 2018-12-06 22:05:16 +0100 |
---|---|---|
committer | mjarkk <mkopenga@gmail.com> | 2018-12-06 22:05:16 +0100 |
commit | ced81e11f048a954b707996d78487e3a6cabd569 (patch) | |
tree | dd159e14e73178b37bf5062f2f2e4b4e660a2173 /pkg/config | |
parent | 6d0fa8bc2926af9c17c7546c447613ae21ef19fc (diff) |
Only show private repo popup when opening repo for first time
Diffstat (limited to 'pkg/config')
-rw-r--r-- | pkg/config/app_config.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkg/config/app_config.go b/pkg/config/app_config.go index f789349b4..c01bd7df8 100644 --- a/pkg/config/app_config.go +++ b/pkg/config/app_config.go @@ -236,14 +236,16 @@ confirmOnQuit: false // AppState stores data between runs of the app like when the last update check // was performed and which other repos have been checked out type AppState struct { - LastUpdateCheck int64 - RecentRepos []string + LastUpdateCheck int64 + RecentRepos []string + RecentPrivateRepos []string } func getDefaultAppState() []byte { return []byte(` lastUpdateCheck: 0 - recentRepos: [] + recentRepos: [] + RecentPrivateRepos: [] `) } |