Linux + iPhone Continuity / iMessage / SMS
fix: use available themed icon for messages
Artrixdcb2d670e697
diff --git a/src/core/src/bluetooth/ancs/notifications.cpp b/src/core/src/bluetooth/ancs/notifications.cppindex b0a8ff0..acea6b5 100644--- a/src/core/src/bluetooth/ancs/notifications.cpp+++ b/src/core/src/bluetooth/ancs/notifications.cpp@@ -149,7 +149,7 @@ namespace tether::bluetooth::ancs {static const std::map<std::string, const char*> by_app_id{{"com.amazon.Amazon", "amazon"},{"com.apple.MobileAddressBook", "x-office-address-book"},- {"com.apple.MobileSMS", "internet-chat"},+ {"com.apple.MobileSMS", "chat-message-new-symbolic"},{"com.apple.Music", "multimedia-player"},{"com.apple.facetime", "camera-web"},{"com.apple.mobilecal", "office-calendar"},diff --git a/test/test_ancs_notifications.cpp b/test/test_ancs_notifications.cppindex 7a7f1d5..c5e8f07 100644--- a/test/test_ancs_notifications.cpp+++ b/test/test_ancs_notifications.cpp@@ -38,7 +38,7 @@ TEST(AncsIcons, PrefersTheAppOverItsCategory) {TEST(AncsIcons, UsesBrandAndThemeIconsForCommonNotificationApps) {const std::vector<std::pair<std::string, std::string>> expected{- {"com.apple.MobileSMS", "internet-chat"},+ {"com.apple.MobileSMS", "chat-message-new-symbolic"},{"com.apple.mobilemail", "mail-unread"},{"com.burbn.instagram", "instagram"},{"com.github.stormbreaker.prod", "github"},