Speeds up the filter for NWC zap payments.

This commit is contained in:
Vitor Pamplona
2024-08-29 12:32:34 -04:00
parent 255f464046
commit 388ccdbe75
3 changed files with 12 additions and 3 deletions

View File

@@ -157,6 +157,12 @@ abstract class NostrDataSource(
resetFilters()
}
open fun startSync() {
Log.d("DataSource", "${this.javaClass.simpleName} Start")
active = true
resetFiltersSuspend()
}
@OptIn(DelicateCoroutinesApi::class)
open fun stop() {
active = false