mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Add haptic feedback
This commit is contained in:
@@ -1177,6 +1177,7 @@ func selectivePrivacySettingsController(
|
||||
return state.withUpdatedHideReadTimeEnabled(value)
|
||||
}
|
||||
}, updateHideReadTimeDisabled: {
|
||||
HapticFeedback().error()
|
||||
let presentationData = context.sharedContext.currentPresentationData.with { $0 }
|
||||
presentControllerImpl?(UndoOverlayController(presentationData: presentationData, content: .info(title: nil, text: presentationData.strings.PrivacyInfo_ShowReadTime_AlwaysToast_Text, timeout: nil, customUndoText: nil), elevatedLayout: false, animateInAsReplacement: false, action: { _ in return false }), nil)
|
||||
}, openPremiumIntro: {
|
||||
|
||||
Reference in New Issue
Block a user