diff --git a/src/app/app.component.ts b/src/app/app.component.ts
index 71f7d081..8bfaa14a 100644
--- a/src/app/app.component.ts
+++ b/src/app/app.component.ts
@@ -66,6 +66,10 @@ export class AppComponent implements OnInit {
this.globalVars.getFreeDeso = true;
}
+ if (params.get('subAccounts') === 'true') {
+ this.globalVars.subAccounts = true;
+ }
+
// Callback should only be used in mobile applications, where payload is passed through URL parameters.
const callback = params.get('callback') || stateParamsFromGoogle.callback;
if (callback) {
diff --git a/src/app/derive/derive.component.html b/src/app/derive/derive.component.html
index 44ec34cd..94cef40d 100644
--- a/src/app/derive/derive.component.html
+++ b/src/app/derive/derive.component.html
@@ -21,14 +21,17 @@
}}
-
-
- or
-
-
+
+
+
+ or
+
+
0;
-
this.backendApi.GetAppState().subscribe((res) => {
this.blockHeight = res.BlockHeight;
});
diff --git a/src/app/global-vars.service.ts b/src/app/global-vars.service.ts
index a2641f11..09ce5157 100644
--- a/src/app/global-vars.service.ts
+++ b/src/app/global-vars.service.ts
@@ -62,6 +62,12 @@ export class GlobalVarsService {
*/
showSkip: boolean = false;
+ /**
+ * Flag used to gate the new subAccounts functionality. After some sunset
+ * period (TBD), we can remove this flag and make this the default behavior.
+ */
+ subAccounts: boolean = false;
+
isFullAccessHostname(): boolean {
return GlobalVarsService.fullAccessHostnames.includes(this.hostname);
}
diff --git a/src/app/log-in/log-in.component.html b/src/app/log-in/log-in.component.html
index 2cc883db..f710276e 100644
--- a/src/app/log-in/log-in.component.html
+++ b/src/app/log-in/log-in.component.html
@@ -119,10 +119,16 @@
-
-
or
-
+ />
+
+
+ or
+
+