From 8fd9da226452d6eb71fecfa81220edd86029c1aa Mon Sep 17 00:00:00 2001 From: Yohann Leon Date: Fri, 17 Apr 2026 01:27:13 +0900 Subject: [PATCH] Resolve linting issue on KoboController --- .../org/gotson/komga/interfaces/api/kobo/KoboController.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt index 3509b70c..6fc7e85a 100644 --- a/komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt +++ b/komga/src/main/kotlin/org/gotson/komga/interfaces/api/kobo/KoboController.kt @@ -591,7 +591,10 @@ class KoboController( locations = R2Locator.Location( progression = koboUpdate.currentBookmark.contentSourceProgressPercent.toFloat() / 100, - totalProgression = koboUpdate.currentBookmark.progressPercent?.toFloat()?.div(100), + totalProgression = + koboUpdate.currentBookmark.progressPercent + ?.toFloat() + ?.div(100), ), ) },