Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
subroh0508 committed Sep 6, 2024
1 parent 5378a6d commit 6a54cbb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 1 addition & 0 deletions shared/src/commonMain/kotlin/component/TopAppBar.kt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ internal fun TopAppBar(
)
}

@Suppress("CyclomaticComplexMethod")
private fun AppConfigState.switchTheme() {
theme = when (theme) {
ColorTheme.AndroidLight -> ColorTheme.AndroidDark
Expand Down
3 changes: 0 additions & 3 deletions shared/src/commonMain/kotlin/section/MyFavoritesSection.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package section

import androidx.compose.foundation.layout.*
import androidx.compose.material3.ColorScheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
Expand Down Expand Up @@ -92,8 +91,6 @@ private fun LoveGrid(
}
}



private fun AppConfigState.change(
isLight: Boolean,
themes: Pair<ColorTheme, ColorTheme>
Expand Down

0 comments on commit 6a54cbb

Please sign in to comment.