Skip to content

Commit

Permalink
Fetch account at start
Browse files Browse the repository at this point in the history
  • Loading branch information
ForceTower committed Aug 16, 2024
1 parent 69219ab commit a4e9994
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,9 @@ class HomeViewModel @Inject constructor(
viewModelScope.launch {
runCatching {
anonymousLoginUseCase.prepareAndLogin()
edgeAccountRepository.fetchAccountIfNeeded()
}.onFailure {
Timber.e(it, "Failed to authenticate.")
Timber.e(it, "Failed to authenticate or fetch account.")
}
}
}
Expand Down

0 comments on commit a4e9994

Please sign in to comment.