mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-19 19:49:33 +01:00
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
f2119770bc
commit
ed09934c7a
@ -72,13 +72,13 @@ open class FileSortOrder(var name: String, var isAscending: Boolean) {
|
||||
}
|
||||
}
|
||||
|
||||
val multiplier: Int
|
||||
get() = if (isAscending) 1 else -1
|
||||
|
||||
open fun sortCloudFiles(files: List<RemoteFileBrowserItem>): List<RemoteFileBrowserItem> {
|
||||
return sortCloudFilesByFavourite(files)
|
||||
}
|
||||
|
||||
val multiplier : Int
|
||||
get() = if (isAscending) 1 else -1
|
||||
|
||||
/**
|
||||
* Comparator for RemoteFileBrowserItems, sorts favorite state.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user