mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 12:09:45 +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> {
|
open fun sortCloudFiles(files: List<RemoteFileBrowserItem>): List<RemoteFileBrowserItem> {
|
||||||
return sortCloudFilesByFavourite(files)
|
return sortCloudFilesByFavourite(files)
|
||||||
}
|
}
|
||||||
|
|
||||||
val multiplier : Int
|
|
||||||
get() = if (isAscending) 1 else -1
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Comparator for RemoteFileBrowserItems, sorts favorite state.
|
* Comparator for RemoteFileBrowserItems, sorts favorite state.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user