little clean up on ReviewExportViewModel

This commit is contained in:
Andre Rosado 2025-10-17 14:47:54 +01:00
parent f0ffbc8556
commit 4ff2f8163a
No known key found for this signature in database
GPG Key ID: 99F68267CCD45AA9

View File

@ -59,7 +59,7 @@ class ReviewExportViewModel @Inject constructor(
itemTypeCounts = ReviewExportState.ItemTypeCounts(),
),
dialog = null,
hasOtherAccounts = (authRepository.userStateFlow.value?.accounts?.size ?: 0) > 1,
hasOtherAccounts = authRepository.userStateFlow.value?.accounts.orEmpty().size > 1,
),
) {