removing debug logs
This commit is contained in:
parent
e1fd79de02
commit
21002fb9b7
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue