Sorted error, spotless'd

This commit is contained in:
Jack Hamilton
2024-10-12 16:33:30 -05:00
parent 945ae821fb
commit c3adf103d7
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ class SetSortModeForCategory(
val category = categoryId?.let { categoryRepository.get(it) }
val flags = (category?.flags ?: 0) + type + direction
if (type == LibrarySort.Type.Random) {
preferences.currentRandomSortSeed().set(Random.nextInt())
preferences.randomSortSeed().set(Random.nextInt())
}
if (category != null && preferences.categorizedDisplaySettings().get()) {
categoryRepository.updatePartial(