Skip to content

Commit

Permalink
Made variable immutable as suggested by warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Feb 11, 2024
1 parent 0987b99 commit c4c01fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CCMenu/Source/Notifications/NotificationFactory.swift
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public enum NotificationType: String {
class NotificationFactory {

func notificationContent(change: StatusChange) -> UNNotificationContent? {
var content = UNMutableNotificationContent()
let content = UNMutableNotificationContent()
switch change.kind {
case .start:
if !shouldSendStartNotification(change: change) {
Expand Down

0 comments on commit c4c01fc

Please sign in to comment.