aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-24 20:06:57 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2023-06-24 20:06:57 +0200
commit4726b8a54a6f326291de09d8dbfd17db3f2f890d (patch)
tree2cbca144f96e30b5c3bdec753d53b1d41a1a516d /src/main/java
parent82010a9a066ac9781553489e3a54bff94330eda6 (diff)
downloadskyhanni-4726b8a54a6f326291de09d8dbfd17db3f2f890d.tar.gz
skyhanni-4726b8a54a6f326291de09d8dbfd17db3f2f890d.tar.bz2
skyhanni-4726b8a54a6f326291de09d8dbfd17db3f2f890d.zip
fixed Assertion failed error
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
index 8e3cbf78b..a0b6e91d8 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/TimeUtils.kt
@@ -19,7 +19,6 @@ object TimeUtils {
duration.inWholeMilliseconds - 999, biggestUnit, showMilliSeconds, longName, maxUnits
)
- @Deprecated("Use kotlin.time.Duration instead!")
fun formatDuration(
millis: Long,
biggestUnit: TimeUnit = TimeUnit.YEAR,