mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
remove unused code
// FREEBIE
This commit is contained in:
parent
c8d547a08f
commit
f74c3a0e87
1 changed files with 1 additions and 6 deletions
|
@ -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)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue