omikit-plugin 3.2.78 → 3.2.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -178,10 +178,10 @@ class CallManager {
|
|
|
178
178
|
let content = UNMutableNotificationContent()
|
|
179
179
|
content.title = title
|
|
180
180
|
|
|
181
|
-
if let nameCallerNumber = call.callerNumber {
|
|
181
|
+
if let nameCallerNumber = call.callerNumber {
|
|
182
182
|
let callerName = call.callerName ?? ""
|
|
183
183
|
let nameShow = callerName.count > 0 ? callerName : nameCallerNumber
|
|
184
|
-
|
|
184
|
+
content.body = message.isEmpty ? nameShow : "\(message) \(nameShow)"
|
|
185
185
|
} else {
|
|
186
186
|
content.body = "\(message) \(call.callerNumber!)"
|
|
187
187
|
}
|
package/omikit-plugin.podspec
CHANGED