Skip to content

Commit

Permalink
Sort repos in alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
meenbeese committed Apr 13, 2024
1 parent f6fb1ec commit 52a6826
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ object Database {
val helper = Helper(context)
db = helper.writableDatabase
if (helper.created) {
for (repository in Repository.defaultRepositories) {
for (repository in Repository.defaultRepositories.sortedBy { it.name }) {
RepositoryAdapter.put(repository)
}
}
Expand Down

0 comments on commit 52a6826

Please sign in to comment.