diff --git a/android/app/src/main/res/drawable/qort.png b/android/app/src/main/res/drawable/qort.png new file mode 100644 index 0000000..005d353 Binary files /dev/null and b/android/app/src/main/res/drawable/qort.png differ diff --git a/src/background.ts b/src/background.ts index fbd41df..4012b0d 100644 --- a/src/background.ts +++ b/src/background.ts @@ -122,7 +122,7 @@ export const groupApi = "https://ext-node.qortal.link"; export const groupApiSocket = "wss://ext-node.qortal.link"; export const groupApiLocal = "http://127.0.0.1:12391"; export const groupApiSocketLocal = "ws://127.0.0.1:12391"; -const timeDifferenceForNotificationChatsBackground = 600000; +const timeDifferenceForNotificationChatsBackground = 86400000; // one day const requestQueueAnnouncements = new RequestQueueWithPromise(1); let isMobile = true; @@ -2934,7 +2934,6 @@ export const checkNewMessages = async () => { }) ); let isDisableNotifications = await getUserSettings({key: 'disable-push-notifications'}) || false - if (newAnnouncements.length > 0 && !mutedGroups.includes(newAnnouncements[0]?.groupId) && !isDisableNotifications) { const notificationId = generateId() diff --git a/src/components/Chat/MessageDisplay.tsx b/src/components/Chat/MessageDisplay.tsx index 67b5892..e4530b9 100644 --- a/src/components/Chat/MessageDisplay.tsx +++ b/src/components/Chat/MessageDisplay.tsx @@ -36,7 +36,7 @@ export const MessageDisplay = ({ htmlContent , isReply}) => { const target = e.target.closest('a'); if (target) { const href = target.getAttribute('href'); - await Browser.open({ url: href }); + window.open(href, '_system'); } else { console.error('No tag found or href is null.');