From c6b942cd316decdf8863ff5b79394622a8ef2a73 Mon Sep 17 00:00:00 2001 From: Marcel Langner Date: Mon, 16 Aug 2021 19:29:40 +0200 Subject: [PATCH] fixed ktlint complaining and errors in italian translation file --- .../fdroid/java/im/vector/app/fdroid/service/GuardService.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt b/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt index f6d29c75da..16f8331586 100644 --- a/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt +++ b/vector/src/fdroid/java/im/vector/app/fdroid/service/GuardService.kt @@ -46,7 +46,8 @@ class GuardService : Service() { if (running) { if (intent != null) { val lifeLine = intent.getBooleanExtra(EXTRA_LIFELINE, false) - if (lifeLine) {//called from lifeLine? + if (lifeLine) { + // called from lifeLine? scheduleLifeLine() return START_STICKY } @@ -88,7 +89,7 @@ class GuardService : Service() { if (sessionId.isNullOrEmpty()) { Timber.i("## Sync: timer still alive GuardService sessionId:nullOrEmpty") } else { - Timber.i("## Sync: timer still alive GuardService sessionId:${sessionId}") + Timber.i("## Sync: timer still alive GuardService sessionId:$sessionId") try { val syncIntent = Intent(applicationContext, VectorSyncService::class.java) syncIntent.putExtra(SyncService.EXTRA_SESSION_ID, sessionId)