Compare commits
No commits in common. "b2fc75edb873ce9260b77b39f08ce192ae95ee97" and "a999dd2085c0b3bd3322ee8d496676bc13f3f3df" have entirely different histories.
b2fc75edb8
...
a999dd2085
|
@ -55,7 +55,7 @@ class NewRouletteService(
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return rouletteList.sortedBy { it.id }
|
return rouletteList.sortedWith(compareByDescending<NewRoulette> { it.isActive }.thenBy { it.id })
|
||||||
.asSequence()
|
.asSequence()
|
||||||
.map {
|
.map {
|
||||||
GetNewRouletteResponse(
|
GetNewRouletteResponse(
|
||||||
|
|
Loading…
Reference in New Issue