Skip to content

Commit

Permalink
chore: ktlint check
Browse files Browse the repository at this point in the history
  • Loading branch information
yangsooplus committed Feb 19, 2024
1 parent 51d7f06 commit c8a0695
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import com.susu.core.ui.base.SideEffect
import com.susu.core.ui.base.UiState

sealed interface MyStatisticsEffect : SideEffect {
data object ShowDataNotExistDialog: MyStatisticsEffect
data object ShowDataNotExistDialog : MyStatisticsEffect
data class HandleException(val throwable: Throwable, val retry: () -> Unit) : MyStatisticsEffect
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ class SusuStatisticsViewModel @Inject constructor(
}

fun getSusuStatistics(onFinish: () -> Unit = {}) {
if ((currentState.relationship !in currentState.relationshipConfig &&
if (
(currentState.relationship !in currentState.relationshipConfig &&
currentState.category !in currentState.categoryConfig) ||
currentState.isBlind
) {
Expand Down

0 comments on commit c8a0695

Please sign in to comment.