removing debug logs

This commit is contained in:
Adam Brown 2022-04-13 21:20:24 +01:00
parent e1fd79de02
commit 21002fb9b7
2 changed files with 0 additions and 3 deletions

View File

@ -92,7 +92,6 @@ internal class AppModule(context: Application, logger: MatrixLogger) {
if (!deleteCrypto && it.startsWith("dbCrypto")) { if (!deleteCrypto && it.startsWith("dbCrypto")) {
// skip // skip
} else { } else {
log(AppLogTag.ERROR_NON_FATAL, "Deleting $it")
driver.execute(null, "DELETE FROM $it", 0) driver.execute(null, "DELETE FROM $it", 0)
} }
} }

View File

@ -11,13 +11,11 @@ internal class SyncTokenPreferences(
) : SyncStore { ) : SyncStore {
override suspend fun store(key: SyncKey, syncToken: SyncToken) { override suspend fun store(key: SyncKey, syncToken: SyncToken) {
log(AppLogTag.ERROR_NON_FATAL, "Store token :$syncToken")
preferences.store(key.value, syncToken.value) preferences.store(key.value, syncToken.value)
} }
override suspend fun read(key: SyncKey): SyncToken? { override suspend fun read(key: SyncKey): SyncToken? {
return preferences.readString(key.value)?.let { return preferences.readString(key.value)?.let {
log(AppLogTag.ERROR_NON_FATAL, "Read token :$it")
SyncToken(it) SyncToken(it)
} }
} }