From 21002fb9b75ef5130275572495832244e77a6513 Mon Sep 17 00:00:00 2001 From: Adam Brown Date: Wed, 13 Apr 2022 21:20:24 +0100 Subject: [PATCH] removing debug logs --- app/src/main/kotlin/app/dapk/st/graph/AppModule.kt | 1 - .../src/main/kotlin/app/dapk/st/domain/SyncTokenPreferences.kt | 2 -- 2 files changed, 3 deletions(-) diff --git a/app/src/main/kotlin/app/dapk/st/graph/AppModule.kt b/app/src/main/kotlin/app/dapk/st/graph/AppModule.kt index 51a5ef7..f42842e 100644 --- a/app/src/main/kotlin/app/dapk/st/graph/AppModule.kt +++ b/app/src/main/kotlin/app/dapk/st/graph/AppModule.kt @@ -92,7 +92,6 @@ internal class AppModule(context: Application, logger: MatrixLogger) { if (!deleteCrypto && it.startsWith("dbCrypto")) { // skip } else { - log(AppLogTag.ERROR_NON_FATAL, "Deleting $it") driver.execute(null, "DELETE FROM $it", 0) } } diff --git a/domains/store/src/main/kotlin/app/dapk/st/domain/SyncTokenPreferences.kt b/domains/store/src/main/kotlin/app/dapk/st/domain/SyncTokenPreferences.kt index a884c60..b4d5346 100644 --- a/domains/store/src/main/kotlin/app/dapk/st/domain/SyncTokenPreferences.kt +++ b/domains/store/src/main/kotlin/app/dapk/st/domain/SyncTokenPreferences.kt @@ -11,13 +11,11 @@ internal class SyncTokenPreferences( ) : SyncStore { override suspend fun store(key: SyncKey, syncToken: SyncToken) { - log(AppLogTag.ERROR_NON_FATAL, "Store token :$syncToken") preferences.store(key.value, syncToken.value) } override suspend fun read(key: SyncKey): SyncToken? { return preferences.readString(key.value)?.let { - log(AppLogTag.ERROR_NON_FATAL, "Read token :$it") SyncToken(it) } }