update ktlint plugin to 11.3.1, format code (#3442)
This commit is contained in:
parent
774d79d666
commit
d839f18267
141 changed files with 589 additions and 428 deletions
|
|
@ -72,7 +72,7 @@ fun Poll?.toViewData(): PollViewData? {
|
|||
votesCount = votesCount,
|
||||
votersCount = votersCount,
|
||||
options = options.mapIndexed { index, option -> option.toViewData(ownVotes?.contains(index) == true) },
|
||||
voted = voted,
|
||||
voted = voted
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ sealed class StatusViewData {
|
|||
* @return Whether the post is collapsed or fully expanded.
|
||||
*/
|
||||
val isCollapsed: Boolean,
|
||||
val isDetailed: Boolean = false,
|
||||
val isDetailed: Boolean = false
|
||||
) : StatusViewData() {
|
||||
override val id: String
|
||||
get() = status.id
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ sealed class TrendingViewData {
|
|||
|
||||
data class Header(
|
||||
val start: Date,
|
||||
val end: Date,
|
||||
val end: Date
|
||||
) : TrendingViewData() {
|
||||
override val id: String
|
||||
get() = start.toString() + end.toString()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue