diff --git a/NotificationContent/Info.plist b/NotificationContent/Info.plist
index 96e7af9c85..3a9570bc06 100644
--- a/NotificationContent/Info.plist
+++ b/NotificationContent/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/NotificationService/Info.plist b/NotificationService/Info.plist
index a8c0e83c3c..774df38e02 100644
--- a/NotificationService/Info.plist
+++ b/NotificationService/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/Share/Info.plist b/Share/Info.plist
index 46e6b5ff7c..519dbf3582 100644
--- a/Share/Info.plist
+++ b/Share/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/SiriIntents/Info.plist b/SiriIntents/Info.plist
index bdece323a5..f4e384fe9a 100644
--- a/SiriIntents/Info.plist
+++ b/SiriIntents/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/Telegram-iOS/AppDelegate.swift b/Telegram-iOS/AppDelegate.swift
index 2368fbf23e..a89e6be07c 100644
--- a/Telegram-iOS/AppDelegate.swift
+++ b/Telegram-iOS/AppDelegate.swift
@@ -205,6 +205,8 @@ final class SharedApplicationContext {
precondition(!testIsLaunched)
testIsLaunched = true
+ let launchStartTime = CFAbsoluteTimeGetCurrent()
+
let statusBarHost = ApplicationStatusBarHost()
let (window, hostView) = nativeWindowHostView()
self.mainWindow = Window1(hostView: hostView, statusBarHost: statusBarHost)
@@ -632,6 +634,9 @@ final class SharedApplicationContext {
if let progress = progress {
if self.dataImportSplash == nil {
self.dataImportSplash = LegacyDataImportSplash(theme: initialPresentationDataAndSettings?.presentationData.theme, strings: initialPresentationDataAndSettings?.presentationData.strings)
+ self.dataImportSplash?.serviceAction = {
+ self.debugPressed()
+ }
self.mainWindow.coveringView = self.dataImportSplash
}
self.dataImportSplash?.progress = (.generic, progress)
@@ -954,6 +959,8 @@ final class SharedApplicationContext {
if readyTime > 0.5 {
print("Application: context took \(readyTime) to become ready")
}
+ print("Launch to ready took \((CFAbsoluteTimeGetCurrent() - launchStartTime) * 1000.0) ms")
+
self.mainWindow.viewController = context.rootController
if firstTime {
let layer = context.rootController.view.layer
@@ -1986,7 +1993,7 @@ final class SharedApplicationContext {
}
@objc func debugPressed() {
- let _ = (Logger.shared.collectLogs()
+ let _ = (Logger.shared.collectShortLogFiles()
|> deliverOnMainQueue).start(next: { logs in
var activityItems: [Any] = []
for (_, path) in logs {
diff --git a/Telegram-iOS/Info.plist b/Telegram-iOS/Info.plist
index 2f3b059bed..4c1866e524 100644
--- a/Telegram-iOS/Info.plist
+++ b/Telegram-iOS/Info.plist
@@ -19,7 +19,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleSignature
????
CFBundleURLTypes
diff --git a/Watch/App/Info.plist b/Watch/App/Info.plist
index 5750e736c4..fed2078073 100644
--- a/Watch/App/Info.plist
+++ b/Watch/App/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
APPL
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
UISupportedInterfaceOrientations
diff --git a/Watch/Extension/Info.plist b/Watch/Extension/Info.plist
index 9af1013136..2192841f2e 100644
--- a/Watch/Extension/Info.plist
+++ b/Watch/Extension/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/Widget/Info.plist b/Widget/Info.plist
index 9c2d7d2187..4cddb0e4e7 100644
--- a/Widget/Info.plist
+++ b/Widget/Info.plist
@@ -17,7 +17,7 @@
CFBundlePackageType
XPC!
CFBundleShortVersionString
- 5.6
+ 5.6.1
CFBundleVersion
${BUILD_NUMBER}
NSExtension
diff --git a/submodules/Display b/submodules/Display
index 3417ed445c..df839bd80b 160000
--- a/submodules/Display
+++ b/submodules/Display
@@ -1 +1 @@
-Subproject commit 3417ed445c1615cf1ad8edfec5ec11060854e6a4
+Subproject commit df839bd80bc5e7cf3bf3d5cf201075c68f18d4e4
diff --git a/submodules/Postbox b/submodules/Postbox
index f12cdfbe58..09d01ea47b 160000
--- a/submodules/Postbox
+++ b/submodules/Postbox
@@ -1 +1 @@
-Subproject commit f12cdfbe5875f71eaebcc67eabf60f666c427318
+Subproject commit 09d01ea47bf50d5d51cfd732971c79ce420ad917
diff --git a/submodules/TelegramCore b/submodules/TelegramCore
index a6f3967113..7401fd998d 160000
--- a/submodules/TelegramCore
+++ b/submodules/TelegramCore
@@ -1 +1 @@
-Subproject commit a6f3967113051438c1e630697370f746723ea1cc
+Subproject commit 7401fd998d2c11d6737ec9238e5883be977802b0
diff --git a/submodules/TelegramUI b/submodules/TelegramUI
index 69a824f26a..09295fa5e4 160000
--- a/submodules/TelegramUI
+++ b/submodules/TelegramUI
@@ -1 +1 @@
-Subproject commit 69a824f26a2e49ec3a3da08885bf9c4baa47b1a0
+Subproject commit 09295fa5e4b8c3ecbc1ea5be1347b31d55346ddf