starts of legacy backup support

This commit is contained in:
Aria Moradi
2021-03-30 01:18:57 +04:30
parent bc3ad75328
commit 71a9396952
5 changed files with 25 additions and 6 deletions

View File

@@ -28,7 +28,8 @@ object ExtensionListData {
var updateMap = ConcurrentHashMap<String, Extension.Available>()
}
const val ExtensionUpdateDelayTime = 0 // 60 seconds
// const val ExtensionUpdateDelayTime = 60 * 1000 // 60,000 milliseconds = 60 seconds
const val ExtensionUpdateDelayTime = 0
fun getExtensionList(): List<ExtensionDataClass> {
// update if {ExtensionUpdateDelayTime} seconds has passed or requested offline and database is empty