diff --git a/changelog.d/8139.misc b/changelog.d/8139.misc new file mode 100644 index 0000000000..37d4a7a628 --- /dev/null +++ b/changelog.d/8139.misc @@ -0,0 +1 @@ +Fix ktlint issue with fields and a new line. diff --git a/library/core-utils/src/main/java/im/vector/lib/core/utils/timer/CountUpTimer.kt b/library/core-utils/src/main/java/im/vector/lib/core/utils/timer/CountUpTimer.kt index 17af1c3190..369e96682a 100644 --- a/library/core-utils/src/main/java/im/vector/lib/core/utils/timer/CountUpTimer.kt +++ b/library/core-utils/src/main/java/im/vector/lib/core/utils/timer/CountUpTimer.kt @@ -33,6 +33,7 @@ class CountUpTimer( private val lastTime: AtomicLong = AtomicLong(clock.epochMillis()) private val elapsedTime: AtomicLong = AtomicLong(0) + // To ensure that the regular tick value is an exact multiple of `intervalInMs` private val specialRound = SpecialRound(intervalInMs)