Skip to content

Commit e54c199

Browse files
committed
Dev mode iOS
1 parent cf55603 commit e54c199

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

frontend/src/app/features/webnode/web-node-not-supported/web-node-not-supported.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
</div>
44
@if (isPhone) {
55
<div class="phone-content flex-column align-center flex-center">
6-
<div class="ios fx-col-full-cent bg-warn-container f-400 warn-primary">iOS</div>
6+
<div class="ios fx-col-full-cent bg-warn-container f-400 warn-primary" (click)="addDevKey2()">iOS</div>
77
<div class="ios-box w-100 fx-col-vert-cent text-center">
88
<div class="headline">Your iOS {{ iOSVersion ?? '' }} isn't supported</div>
99
<div class="sub-headline tertiary">

frontend/src/app/features/webnode/web-node-not-supported/web-node-not-supported.component.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,17 @@ export class WebNodeNotSupportedComponent {
2626

2727
constructor(private platform: Platform) {}
2828

29+
addDevKey2(): void {
30+
this.codeVerifier.push(code[this.codeVerifier.length]);
31+
this.checkCode();
32+
}
33+
2934
addDevKey(key: number): void {
3035
this.codeVerifier.push(key);
36+
this.checkCode();
37+
}
38+
39+
private checkCode(): void {
3140
if (this.codeVerifier.length === code.length) {
3241
if (this.codeVerifier.every((v, i) => v === code[i])) {
3342
this.devMode = true;

0 commit comments

Comments
 (0)