Fix build

This commit is contained in:
Ali
2022-05-21 01:21:56 +03:00
parent 3e27c499b3
commit 0609f2bdf3
2 changed files with 0 additions and 6 deletions

View File

@@ -896,8 +896,6 @@ func settingsSearchableItems(context: AccountContext, notificationExceptionsList
let faq = SettingsSearchableItem(id: .faq(0), title: strings.Settings_FAQ, alternate: synonyms(strings.SettingsSearch_Synonyms_FAQ), icon: .faq, breadcrumbs: [], present: { context, navigationController, present in
#if DEBUG
#else
let _ = (cachedFaqInstantPage(context: context)
|> deliverOnMainQueue).start(next: { resolvedUrl in
context.sharedContext.openResolvedUrl(resolvedUrl, context: context, urlContext: .generic, navigationController: navigationController, forceExternal: false, openPeer: { peer, navigation in
@@ -905,7 +903,6 @@ func settingsSearchableItems(context: AccountContext, notificationExceptionsList
present(.push, controller)
}, dismissInput: {}, contentContext: nil)
})
#endif
})
allItems.append(faq)