From 706d1da51841206b5eb8ec5ba3c9ad0e4dbf3a90 Mon Sep 17 00:00:00 2001 From: Dan Ballard Date: Tue, 8 Feb 2022 17:50:32 -0500 Subject: [PATCH] new lcg version --- LIBCWTCH-GO-MACOS.version | 2 +- LIBCWTCH-GO.version | 2 +- lib/cwtch/cwtchNotifier.dart | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/LIBCWTCH-GO-MACOS.version b/LIBCWTCH-GO-MACOS.version index 00bd89ea..fc00f018 100644 --- a/LIBCWTCH-GO-MACOS.version +++ b/LIBCWTCH-GO-MACOS.version @@ -1 +1 @@ -2022-02-08-16-19-v1.5.4-36-g4467c40 \ No newline at end of file +2022-02-08-22-37-v1.5.4-41-gd0d5300 \ No newline at end of file diff --git a/LIBCWTCH-GO.version b/LIBCWTCH-GO.version index 5ec5256c..fc00f018 100644 --- a/LIBCWTCH-GO.version +++ b/LIBCWTCH-GO.version @@ -1 +1 @@ -2022-02-08-21-19-v1.5.4-36-g4467c40 \ No newline at end of file +2022-02-08-22-37-v1.5.4-41-gd0d5300 \ No newline at end of file diff --git a/lib/cwtch/cwtchNotifier.dart b/lib/cwtch/cwtchNotifier.dart index ca72fb7b..5d677bff 100644 --- a/lib/cwtch/cwtchNotifier.dart +++ b/lib/cwtch/cwtchNotifier.dart @@ -33,7 +33,7 @@ class CwtchNotifier { String? notificationConversationInfo; CwtchNotifier( - ProfileListState pcn, Settings settingsCN, ErrorHandler errorCN, TorStatus torStatusCN, NotificationsManager notificationManagerP, AppState appStateCN, ServerListState serverListStateCN) { + ProfileListState pcn, Settings settingsCN, ErrorHandler errorCN, TorStatus torStatusCN, NotificationsManager notificationManagerP, AppState appStateCN, ServerListState serverListStateCN) { profileCN = pcn; settings = settingsCN; error = errorCN; @@ -172,7 +172,7 @@ class CwtchNotifier { notificationManager.notify(notificationSimple ?? "New Message"); } else if (notification == "ContactInfo") { var contact = profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(identifier); - notificationManager.notify((notificationConversationInfo ?? "New Message from %1").replaceFirst("%1", (contact?.nickname ?? senderHandle.toString()))); + notificationManager.notify((notificationConversationInfo ?? "New Message from %1").replaceFirst("%1", (contact?.nickname ?? senderHandle.toString()))); } profileCN.getProfile(data["ProfileOnion"])?.newMessage( @@ -249,7 +249,7 @@ class CwtchNotifier { notificationManager.notify(notificationSimple ?? "New Message"); } else if (notification == "ContactInfo") { var contact = profileCN.getProfile(data["ProfileOnion"])?.contactList.getContact(identifier); - notificationManager.notify( (notificationConversationInfo ?? "New Message from %1").replaceFirst("%1", (contact?.nickname ?? senderHandle.toString()))); + notificationManager.notify((notificationConversationInfo ?? "New Message from %1").replaceFirst("%1", (contact?.nickname ?? senderHandle.toString()))); } appState.notifyProfileUnread(); }