diff --git a/android/app/src/main/assets/public/blah/en-us.json b/android/app/src/main/assets/public/blah/en-us.json
index 1e6b7306..f2d7d853 100644
--- a/android/app/src/main/assets/public/blah/en-us.json
+++ b/android/app/src/main/assets/public/blah/en-us.json
@@ -68,6 +68,10 @@
"title.inbox": "Inbox",
"title.invites": "Invites",
"title.notifications": "Notifications",
+ "title.received": "Received",
+ "title.sent": "Sent",
+ "title.all": "All",
+ "title.unread": "Unread",
"title.sign.up": "Sign Up",
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
diff --git a/electron/assets/icon.png b/electron/assets/icon.png
index 700e79cf..851cf1bc 100644
Binary files a/electron/assets/icon.png and b/electron/assets/icon.png differ
diff --git a/icons/icon.png b/icons/icon.png
index 700e79cf..851cf1bc 100644
Binary files a/icons/icon.png and b/icons/icon.png differ
diff --git a/webroot/blah/en-us.json b/webroot/blah/en-us.json
index 1e6b7306..f2d7d853 100644
--- a/webroot/blah/en-us.json
+++ b/webroot/blah/en-us.json
@@ -68,6 +68,10 @@
"title.inbox": "Inbox",
"title.invites": "Invites",
"title.notifications": "Notifications",
+ "title.received": "Received",
+ "title.sent": "Sent",
+ "title.all": "All",
+ "title.unread": "Unread",
"title.sign.up": "Sign Up",
diff --git a/webroot/main.js b/webroot/main.js
index fd79db53..b0e262a2 100644
--- a/webroot/main.js
+++ b/webroot/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/webroot/screens.js b/webroot/screens.js
index e5d4d527..f788b67b 100644
--- a/webroot/screens.js
+++ b/webroot/screens.js
@@ -76,10 +76,10 @@ var joinSpaceScreen = `
var invitesScreen = `
-
+
-
+
desc.no.invites
@@ -90,10 +90,10 @@ var invitesScreen = `
var notifisScreen = `
-
+
-