mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-03 09:49:25 +02:00
Fix missing user list in the authentication dialog when parent keys exist
This commit is contained in:
parent
b12b57b47c
commit
a522530518
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ class LoginDialogFragmentModel(application: Application): AndroidViewModel(appli
|
|||
}
|
||||
}
|
||||
|
||||
if (isLoginDone.value == false) {
|
||||
if (isLoginDone.value == false && !hasParentKeys.waitForNonNullValue()) {
|
||||
allUsers.singleOrNull { it.password.isNotEmpty() }?.let { user ->
|
||||
selectedUserId.value = user.id
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue