mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 11:23:48 +00:00
Fix build
This commit is contained in:
parent
9adbb61a02
commit
303af09f49
@ -922,10 +922,7 @@ public func dataAndStorageController(context: AccountContext, focusOnItemTag: Da
|
||||
}, openIntents: {
|
||||
let controller = intentsSettingsController(context: context)
|
||||
pushControllerImpl?(controller)
|
||||
}, toggleSensitiveContent: { value in
|
||||
let _ = updateMediaDisplaySettingsInteractively(accountManager: context.sharedContext.accountManager, {
|
||||
$0.withUpdatedShowSensitiveContent(value)
|
||||
}).startStandalone()
|
||||
}, toggleSensitiveContent: { _ in
|
||||
}, toggleOtherSensitiveContent: { value in
|
||||
let _ = (contentSettingsConfiguration.get()
|
||||
|> take(1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user