From d97f0c368b4a1840bf9ffc25d9c0caa871f9d7d2 Mon Sep 17 00:00:00 2001 From: olcxja Date: Wed, 20 May 2026 12:58:46 +0200 Subject: [PATCH] =?UTF-8?q?FOrgot=20to=20push=20js=20=F0=9F=AB=A9?= =?UTF-8?q?=F0=9F=AB=A9=F0=9F=AB=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/app/src/main/assets/public/main.js | 16 ++++++++++++---- android/app/src/main/assets/public/screens.js | 8 ++++---- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/android/app/src/main/assets/public/main.js b/android/app/src/main/assets/public/main.js index fd79db53..b0e262a2 100644 --- a/android/app/src/main/assets/public/main.js +++ b/android/app/src/main/assets/public/main.js @@ -969,6 +969,12 @@ function switchInvitesTab(tab) { document.getElementById('tab-invites-received').classList.add('tab-inactive'); document.getElementById('tab-invites-sent').classList.add('tab-inactive'); document.getElementById(`tab-invites-${tab}`).classList.remove('tab-inactive'); + + + if (tab == "received") + { + + } } function switchNotifisTab(tab) { @@ -991,14 +997,16 @@ async function gotoInbox() { } } -function gotoInvites() { +async function gotoInvites() { setActiveRoombarItem('collapse-invites'); - switchRoomContent("title.invites", invitesScreen, false); + await switchRoomContent("title.invites", invitesScreen, false); + switchInvitesTab('received'); } -function gotoNotifis() { +async function gotoNotifis() { setActiveRoombarItem('collapse-notifis'); - switchRoomContent("title.notifications", notifisScreen, false); + await switchRoomContent("title.notifications", notifisScreen, false); + switchNotifisTab('all'); } function gotoCreateSpace() { diff --git a/android/app/src/main/assets/public/screens.js b/android/app/src/main/assets/public/screens.js index e5d4d527..f788b67b 100644 --- a/android/app/src/main/assets/public/screens.js +++ b/android/app/src/main/assets/public/screens.js @@ -76,10 +76,10 @@ var joinSpaceScreen = ` var invitesScreen = `
- +
-
+

desc.no.invites

@@ -90,10 +90,10 @@ var invitesScreen = ` var notifisScreen = `
- +
-
+

desc.no.notifications