From 55f02d808401b9a37f372026832dbfeef8b89105 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCrten?= <sebastian@mobanisto.de> Date: Thu, 7 Oct 2021 13:16:54 +0200 Subject: [PATCH] Add internal comment for auto-login during testing --- src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt b/src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt index b78aba7ca3..0b5655d9da 100644 --- a/src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt +++ b/src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt @@ -81,6 +81,8 @@ constructor( var screenState by remember { mutableStateOf( if (accountManager.hasDatabaseKey()) { + // this should only happen during testing when we launch the main UI directly + // without a need to enter the password. loadContacts() Screen.MAIN } else if (accountManager.accountExists()) { -- GitLab