diff --git a/Telegram/Telegram-iOS/Base.lproj/LaunchScreen.xib b/Telegram/Telegram-iOS/Base.lproj/LaunchScreen.xib index c8bc1ddd72..8548343621 100644 --- a/Telegram/Telegram-iOS/Base.lproj/LaunchScreen.xib +++ b/Telegram/Telegram-iOS/Base.lproj/LaunchScreen.xib @@ -1,6 +1,6 @@ - + @@ -10,27 +10,13 @@ - + - - - - - - - - - - - - - - diff --git a/submodules/RMIntro/Sources/platform/ios/RMIntroViewController.m b/submodules/RMIntro/Sources/platform/ios/RMIntroViewController.m index 249ca084ca..f698ca3f84 100644 --- a/submodules/RMIntro/Sources/platform/ios/RMIntroViewController.m +++ b/submodules/RMIntro/Sources/platform/ios/RMIntroViewController.m @@ -254,11 +254,13 @@ typedef enum { _glkView.transform = CGAffineTransformIdentity; } completion:nil]; + _glkView.alpha = 0.0; _pageScrollView.alpha = 0.0; _pageControl.alpha = 0.0; _startButton.alpha = 0.0; [UIView animateWithDuration:0.3 delay:0.15 options:kNilOptions animations:^{ + _glkView.alpha = 1.0; _pageScrollView.alpha = 1.0; _pageControl.alpha = 1.0; _startButton.alpha = 1.0; diff --git a/submodules/TelegramUI/Sources/AppDelegate.swift b/submodules/TelegramUI/Sources/AppDelegate.swift index 016445a072..f7d20548ae 100644 --- a/submodules/TelegramUI/Sources/AppDelegate.swift +++ b/submodules/TelegramUI/Sources/AppDelegate.swift @@ -337,12 +337,6 @@ private func extractAccountManagerState(records: AccountRecordsView deliverOnMainQueue).start(next: { [weak launchIconView] context in + |> deliverOnMainQueue).start(next: { context in print("Application: context took \(CFAbsoluteTimeGetCurrent() - startTime) to become available") var network: Network? @@ -1105,13 +1099,6 @@ private func extractAccountManagerState(records: AccountRecordsView deliverOnMainQueue).start(next: { [weak launchIconView] context in + |> deliverOnMainQueue).start(next: { context in var network: Network? if let context = context { network = context.account.network @@ -1211,17 +1198,6 @@ private func extractAccountManagerState(records: AccountRecordsView deliverOnMainQueue).start(next: { _ in progressDisposable.dispose() self.mainWindow.present(context.rootController, on: .root) - - if let launchIconView { - if context.rootController.topViewController is AuthorizationSequenceSplashController { - context.rootController.view.addSubview(launchIconView) - Queue.mainQueue().after(0.01, { - launchIconView.removeFromSuperview() - }) - } else { - launchIconView.removeFromSuperview() - } - } })) } else { authContextReadyDisposable.set(nil)