From 77e6790f59dfc9b6ed8b81bbbb1adf1183841f39 Mon Sep 17 00:00:00 2001 From: ludelanier Date: Mon, 10 Jun 2024 21:35:35 +0200 Subject: [PATCH] fix order --- Sources/AllInApp/AllIn/Components/CustomBetLine.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AllInApp/AllIn/Components/CustomBetLine.swift b/Sources/AllInApp/AllIn/Components/CustomBetLine.swift index 6035669..e452c5e 100644 --- a/Sources/AllInApp/AllIn/Components/CustomBetLine.swift +++ b/Sources/AllInApp/AllIn/Components/CustomBetLine.swift @@ -18,7 +18,7 @@ struct CustomBetLine: View { } var sortedAnswers: [AnswerDetail] { - bet.answers.sorted { $0.odds < $1.odds } + bet.answers.sorted { $0.totalParticipants > $1.totalParticipants } } func getTextStyle(for answer: AnswerDetail) -> Font.Weight {