diff --git a/assets/scss/main.scss b/assets/scss/main.scss
index c71275c..2762347 100644
--- a/assets/scss/main.scss
+++ b/assets/scss/main.scss
@@ -411,6 +411,7 @@ a {
--integritee-blue: #1845b9;
--integritee-green: #24ad7c;
--integritee-red: #ff4d4d;
+ --integritee-yellow: #ffdb4d;
--integritee-gray: #696868;
}
@@ -430,6 +431,10 @@ a {
background: var(--integritee-green);
}
+.incognitee-yellow {
+ background: var(--integritee-yellow);
+}
+
.incognitee-border-gradient {
width: 100%;
height: 100%;
diff --git a/components/ui/WarningBanner.vue b/components/ui/WarningBanner.vue
new file mode 100644
index 0000000..07be4c7
--- /dev/null
+++ b/components/ui/WarningBanner.vue
@@ -0,0 +1,57 @@
+
+
+
+
+
+
+
diff --git a/pages/index.vue b/pages/index.vue
index 7b2cde8..8a68805 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,11 +1,21 @@
-
+
+
+
{
promises.push(p2);
await Promise.all(promises);
+
+ if (accountStore.getDecimalBalanceTransferable(shieldingTarget.value) === 0) {
+ if (
+ accountStore.getDecimalBalanceTransferable(incogniteeSidechain.value) > 0
+ ) {
+ console.log("account has funds on incognitee. selecting private tab");
+ selectTab("private");
+ }
+ }
};
const copyOwnAddressToClipboard = () => {
navigator.clipboard
@@ -1650,6 +1670,9 @@ onMounted(async () => {
}
} else {
openChooseWalletOverlay();
+ }
+ if (accountStore.getAddress !== "none") {
+ // if we move back from TEERdays, the account may already be selected and the subscription watcher won't trigger
await subscribeWhatsReady();
}
});