Cleanup code

This commit is contained in:
Alfonso Grillo
2022-12-02 12:31:26 +01:00
parent f307d43110
commit d01d9546c0
3 changed files with 19 additions and 17 deletions
@@ -22,7 +22,7 @@ extension NotificationPushRuleId {
/// It is defined similarly across Web and Android.
/// - Parameter index: The notification index for which to get the actions for.
/// - Returns: The associated `NotificationStandardActions`.
func standardActions(for index: NotificationIndex) -> NotificationStandardActions? {
func standardActions(for index: NotificationIndex) -> NotificationStandardActions {
switch self {
case .containDisplayName:
switch index {