Skip to content

Commit

Permalink
Fix detekt warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ravishanker committed Feb 29, 2024
1 parent 97cb573 commit 7c2b0dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ class OverviewUseCase constructor(
}
}

@Suppress("MagicNumber")
private fun onColumnSelected(position: Int) {
val event = when (position) {
0 -> AnalyticsTracker.Stat.STATS_OVERVIEW_TYPE_TAPPED_VIEWS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,7 @@ class TrafficOverviewUseCase(
}
}

@Suppress("MagicNumber")
private fun onColumnSelected(position: Int) {
val event = when (position) {
0 -> AnalyticsTracker.Stat.STATS_OVERVIEW_TYPE_TAPPED_VIEWS
Expand Down

0 comments on commit 7c2b0dc

Please sign in to comment.