remove unused code

// FREEBIE
This commit is contained in:
Michael Kirk 2017-06-07 08:53:10 -04:00
parent c8d547a08f
commit f74c3a0e87

View file

@ -22,8 +22,7 @@ struct AppNotifications {
enum Action { enum Action {
case callBack, case callBack,
showThread, showThread
confirmIdentityAndCallBack
} }
static var allCategories: Set<UNNotificationCategory> { static var allCategories: Set<UNNotificationCategory> {
@ -57,10 +56,6 @@ struct AppNotifications {
return UNNotificationAction(identifier: "org.whispersystems.signal.AppNotifications.Action.showThread", return UNNotificationAction(identifier: "org.whispersystems.signal.AppNotifications.Action.showThread",
title: CallStrings.showThreadButtonTitle, title: CallStrings.showThreadButtonTitle,
options: .authenticationRequired) options: .authenticationRequired)
case .confirmIdentityAndCallBack:
return UNNotificationAction(identifier: "org.whispersystems.signal.AppNotifications.Action.confirmIdentityAndCallBack",
title: CallStrings.confirmIdentityAndCallBackButtonTitle,
options: .authenticationRequired)
} }
} }
} }