From 1dc93b2a016b65174e3fc2d4c70c212be92fad83 Mon Sep 17 00:00:00 2001 From: limepotato Date: Fri, 16 Feb 2024 20:06:27 -0700 Subject: [PATCH] Add checkbox for shared folders --- .../kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt b/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt index dddd474..388bcf2 100644 --- a/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt +++ b/src/main/kotlin/org/bm00/DataAccessor/windows/LoginWindow.kt @@ -71,7 +71,9 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) : ) ) - addButton("Login", CENTERED + 9, CENTERED + 6, + addCheckBox( CENTERED + 4, CENTERED + 5, "Shared Folder?",false) + + addButton("Login", CENTERED + 9, CENTERED + 8, object : TAction() { override fun DO() { loginActivity() @@ -79,7 +81,7 @@ class LoginWindow private constructor(parent: TApplication, flags: Int) : } ) - addButton("Back...", CENTERED + 8, CENTERED + 8, + addButton("Back...", CENTERED + 8, CENTERED + 10, object : TAction() { override fun DO() { getParent().close()