Increased number of recent repositories to 10
This commit is contained in:
parent
38a1b60e91
commit
5ba57f58b6
@ -41,7 +41,7 @@ class AppStateManager @Inject constructor(
|
|||||||
// Add the latest one to the beginning
|
// Add the latest one to the beginning
|
||||||
_latestOpenedRepositoriesPaths.add(0, path)
|
_latestOpenedRepositoriesPaths.add(0, path)
|
||||||
|
|
||||||
if (_latestOpenedRepositoriesPaths.count() > 5)
|
if (_latestOpenedRepositoriesPaths.count() > 10)
|
||||||
_latestOpenedRepositoriesPaths.removeLast()
|
_latestOpenedRepositoriesPaths.removeLast()
|
||||||
|
|
||||||
updateSavedRepositoryTabs()
|
updateSavedRepositoryTabs()
|
||||||
|
Loading…
Reference in New Issue
Block a user