mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Fix build [skip ci]
This commit is contained in:
parent
8c01f10d29
commit
01ce90e265
@ -20,15 +20,6 @@ class TodayViewController: UIViewController, NCWidgetProviding {
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
|
||||
if #available(iOSApplicationExtension 13.0, *) {
|
||||
switch self.traitCollection.userInterfaceStyle {
|
||||
case .dark:
|
||||
self.primaryColor = .white
|
||||
default:
|
||||
break
|
||||
}
|
||||
}
|
||||
|
||||
let appBundleIdentifier = Bundle.main.bundleIdentifier!
|
||||
guard let lastDotRange = appBundleIdentifier.range(of: ".", options: [.backwards]) else {
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user