Skip to content
Snippets Groups Projects
Commit 55f02d80 authored by Sebastian's avatar Sebastian Committed by Mikolai Gütschow
Browse files

Add internal comment for auto-login during testing

parent b1600708
Branches
Tags
1 merge request!22Make it possible to start briar with temporary account with a bunch of testing contacts
...@@ -81,6 +81,8 @@ constructor( ...@@ -81,6 +81,8 @@ constructor(
var screenState by remember { var screenState by remember {
mutableStateOf( mutableStateOf(
if (accountManager.hasDatabaseKey()) { if (accountManager.hasDatabaseKey()) {
// this should only happen during testing when we launch the main UI directly
// without a need to enter the password.
loadContacts() loadContacts()
Screen.MAIN Screen.MAIN
} else if (accountManager.accountExists()) { } else if (accountManager.accountExists()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment