summary refs log tree commit diff
path: root/v2/screen/login.ts
diff options
context:
space:
mode:
authorwlodekm <[email protected]>2024-11-10 19:33:13 +0200
committerwlodekm <[email protected]>2024-11-10 19:33:13 +0200
commit6c6f9765c5982347b36a38bce366dddadc497fe3 (patch)
tree888f22cb99c6dbae08cd31e0351adecef4c0f7ba /v2/screen/login.ts
parent22a2150eef88430f9d9d5491a002e23e7813ac0c (diff)
add home
Diffstat (limited to 'v2/screen/login.ts')
-rw-r--r--v2/screen/login.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/v2/screen/login.ts b/v2/screen/login.ts
index 525127b..bc39655 100644
--- a/v2/screen/login.ts
+++ b/v2/screen/login.ts
@@ -17,6 +17,10 @@ export default {
             data: [false]
         },
         {
+            type: ElemType.BR,
+            id: 'naoiuou'
+        },
+        {
             type: ElemType.TextElem,
             id: 'password-label',
             data: ["Password: \n"]
@@ -27,9 +31,14 @@ export default {
             data: [true]
         },
         {
+            type: ElemType.BR,
+            id: 'faij0ifsj'
+        },
+        {
             type: ElemType.ButtonElem,
             id: 'done-btn',
             data: ["Done", async function (this: Screen) {
+                client.setScreen(this)
                 this.off()
                 this.logs.push(`clicked button`)
                 console.clear()