From 2a1a0d9ccbcc39920ca16176f84edfc8edd930ff Mon Sep 17 00:00:00 2001 From: Arne Date: Tue, 10 Dec 2024 20:58:26 +0100 Subject: [PATCH] Fix up shortcuts.xml --- src/cheogram/res/xml/shortcuts.xml | 7 ------- .../eu/siacs/conversations/services/ShortcutService.java | 4 ++-- src/main/res/xml/shortcuts.xml | 7 +++++++ 3 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 src/cheogram/res/xml/shortcuts.xml create mode 100644 src/main/res/xml/shortcuts.xml diff --git a/src/cheogram/res/xml/shortcuts.xml b/src/cheogram/res/xml/shortcuts.xml deleted file mode 100644 index 6431baeb3..000000000 --- a/src/cheogram/res/xml/shortcuts.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/src/main/java/eu/siacs/conversations/services/ShortcutService.java b/src/main/java/eu/siacs/conversations/services/ShortcutService.java index 57607e232..0366f6746 100644 --- a/src/main/java/eu/siacs/conversations/services/ShortcutService.java +++ b/src/main/java/eu/siacs/conversations/services/ShortcutService.java @@ -100,7 +100,7 @@ public class ShortcutService { .setIntent(getShortcutIntent(contact)) .setIcon(IconCompat.createWithBitmap(xmppConnectionService.getAvatarService().getRoundedShortcut(contact))) .setIsConversation() - .setCategories(Set.of("com.cheogram.android.SHARE_TARGET")) + .setCategories(Set.of("de.monocles.chat.SHARE_TARGET")) .build(); } @@ -110,7 +110,7 @@ public class ShortcutService { .setIntent(getShortcutIntent(mucOptions)) .setIcon(IconCompat.createWithBitmap(xmppConnectionService.getAvatarService().getRoundedShortcut(mucOptions))) .setIsConversation() - .setCategories(Set.of("com.cheogram.android.SHARE_TARGET")) + .setCategories(Set.of("de.monocles.chat.SHARE_TARGET")) .build(); } diff --git a/src/main/res/xml/shortcuts.xml b/src/main/res/xml/shortcuts.xml new file mode 100644 index 000000000..668139387 --- /dev/null +++ b/src/main/res/xml/shortcuts.xml @@ -0,0 +1,7 @@ + + + + + + +