From d8e9c0a4d0fe0abf1c184d759b4316ac750e0e09 Mon Sep 17 00:00:00 2001 From: Abhijeet Ranjan Date: Fri, 10 May 2024 10:51:39 +0530 Subject: [PATCH] added the in app banner color customisation. --- Sources/Kommunicate/Classes/KMPushNotificationHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/Kommunicate/Classes/KMPushNotificationHandler.swift b/Sources/Kommunicate/Classes/KMPushNotificationHandler.swift index 9e501ab2..7994f78e 100644 --- a/Sources/Kommunicate/Classes/KMPushNotificationHandler.swift +++ b/Sources/Kommunicate/Classes/KMPushNotificationHandler.swift @@ -45,7 +45,7 @@ public class KMPushNotificationHandler: Localizable { case NSNumber(value: APP_STATE_ACTIVE.rawValue): guard !pushNotificationHelper.isNotificationForActiveThread(notificationData) else { return } - ALUtilityClass.thirdDisplayNotificationTS(message, andForContactId: nil, withGroupId: notificationData.groupId, completionHandler: { + ALUtilityClass.thirdDisplayNotificationTS(message, andForContactId: nil, withGroupId: notificationData.groupId,titleTest: configuration.inAppBannerTextColor, contentTextColor: configuration.inAppBannerContentColor, backgroundColor: configuration.inAppBannerColor, completionHandler: { _ in weakSelf.launchIndividualChatWith(notificationData: notificationData) })