mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-05 05:51:42 +00:00
Update submodules
This commit is contained in:
parent
a5490d150a
commit
9d0f4230ea
@ -205,23 +205,6 @@ final class SharedApplicationContext {
|
|||||||
precondition(!testIsLaunched)
|
precondition(!testIsLaunched)
|
||||||
testIsLaunched = true
|
testIsLaunched = true
|
||||||
|
|
||||||
do {
|
|
||||||
let documentsPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]
|
|
||||||
let valueBox = SqliteValueBox(basePath: "\(documentsPath)/test_db", queue: Queue.mainQueue(), encryptionParameters: nil, upgradeProgress:{ _ in })
|
|
||||||
let table = ValueBoxTable(id: 1, keyType: .int64, compactValuesOnCreation: false)
|
|
||||||
let key = ValueBoxKey(length: 8)
|
|
||||||
key.setInt64(0, value: 1234567)
|
|
||||||
valueBox.begin()
|
|
||||||
if valueBox.get(table, key: key) != nil {
|
|
||||||
print("test_db: found")
|
|
||||||
} else {
|
|
||||||
print("test_db: not found")
|
|
||||||
}
|
|
||||||
valueBox.set(table, key: key, value: MemoryBuffer())
|
|
||||||
valueBox.commit()
|
|
||||||
valueBox.begin()
|
|
||||||
}
|
|
||||||
|
|
||||||
let launchStartTime = CFAbsoluteTimeGetCurrent()
|
let launchStartTime = CFAbsoluteTimeGetCurrent()
|
||||||
|
|
||||||
let statusBarHost = ApplicationStatusBarHost()
|
let statusBarHost = ApplicationStatusBarHost()
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
Subproject commit d9153f3cb4249a09cb76e608180f50983fc25958
|
Subproject commit 00539e443aa13fb861016d0506b1514bea990024
|
||||||
@ -1 +1 @@
|
|||||||
Subproject commit a8e215ac1920b1825b49357ccfefda806fd56ea0
|
Subproject commit 83374aba5844baed5a315ba402ec8528996af501
|
||||||
Loading…
x
Reference in New Issue
Block a user