Adds comments.

This commit is contained in:
BinaryAlley committed 2026-08-20 23:38:50 -07:00
1 parent 4ef8570854
commit fd64cbd6ba
13 files changed
+17

No files matched your search

@@ -47,6 +47,7 @@ public class GetThemesQueryHandler : IQueryHandler<GetThemesQuery, Result<IReadO
return Result.From<IReadOnlyList<ThemeResponse>>([.. getThemesResult.Value
.Where(theme => !theme.IsDeleted)
// the shipped bundled themes are listed before the user themes, so the defaults stay the most visible
.OrderByDescending(theme => theme.InstallSource == ThemeInstallSource.Bundled)
.ThenBy(theme => theme.Name, StringComparer.OrdinalIgnoreCase)
.Select(theme => theme.ToResponse())]);