Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Briar Desktop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
briar
Briar Desktop
Commits
55f02d80
Commit
55f02d80
authored
Oct 7, 2021
by
Sebastian
Committed by
Mikolai Gütschow
Oct 8, 2021
Browse files
Options
Downloads
Patches
Plain Diff
Add internal comment for auto-login during testing
parent
b1600708
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!22
Make it possible to start briar with temporary account with a bunch of testing contacts
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt
+2
-0
2 additions, 0 deletions
...ain/kotlin/org/briarproject/briar/desktop/BriarService.kt
with
2 additions
and
0 deletions
src/main/kotlin/org/briarproject/briar/desktop/BriarService.kt
+
2
−
0
View file @
55f02d80
...
@@ -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
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment