Skip to content

Commit a7b97e1

Browse files
committed
fix(ios): show caller name on notification title
1 parent 832ef6c commit a7b97e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Classes/SwiftTwilioVoicePlugin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,7 @@ public class SwiftTwilioVoicePlugin: NSObject, FlutterPlugin, FlutterStreamHand
682682
}
683683

684684
let title = userName ?? self.clients["defaultCaller"] ?? self.defaultCaller
685-
content.title = String(format: NSLocalizedString("notification_missed_call", comment: ""),title)
685+
content.title = title
686686

687687
let trigger = UNTimeIntervalNotificationTrigger(timeInterval: 1, repeats: false)
688688
let request = UNNotificationRequest(identifier: UUID().uuidString,

0 commit comments

Comments
 (0)