Fix repo-details: mirror-list not being shown when equal 2 mirrors

This commit is contained in:
litetex
2025-07-21 22:50:22 +02:00
parent 03cf74eca3
commit 244e11b916

View File

@@ -139,7 +139,7 @@ fun RepoDetailsScreen(
// So if there is only one mirror, this is the address => don't show this section.
// If there are 2 or more official mirrors, it makes sense to allow users
// to disable the canonical address.
if (officialMirrors.size > 2) {
if (officialMirrors.size >= 2) {
OfficialMirrors(
mirrors = officialMirrors,
disabledMirrors = disabledMirrors,