mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Fix settings search
This commit is contained in:
parent
802f819d73
commit
8bec45b0d3
1 changed files with 2 additions and 2 deletions
|
|
@ -527,7 +527,7 @@ private func privacySearchableItems(context: AccountContext, privacySettings: Ac
|
|||
}),
|
||||
SettingsSearchableItem(id: .privacy(7), title: passcodeTitle, alternate: passcodeAlternate, icon: icon, breadcrumbs: [strings.Settings_PrivacySettings], present: { context, _, present in
|
||||
let _ = passcodeOptionsAccessController(context: context, pushController: { c in
|
||||
|
||||
present(.push, c)
|
||||
}, completion: { animated in
|
||||
let controller = passcodeOptionsController(context: context)
|
||||
if animated {
|
||||
|
|
@ -537,7 +537,7 @@ private func privacySearchableItems(context: AccountContext, privacySettings: Ac
|
|||
}
|
||||
}).start(next: { controller in
|
||||
if let controller = controller {
|
||||
present(.modal, controller)
|
||||
present(.push, controller)
|
||||
}
|
||||
})
|
||||
}),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue