Skip to content

Commit

Permalink
Fix code analytics
Browse files Browse the repository at this point in the history
Signed-off-by: alperozturk <[email protected]>
  • Loading branch information
alperozturk96 committed Mar 1, 2024
1 parent 42e1f36 commit 302c853
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ class ComposeActivity : DrawerActivity() {
lateinit var schemeFlow: MutableStateFlow<ColorScheme>
}

@Suppress("DEPRECATION")
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
binding = ActivityComposeBinding.inflate(layoutInflater)
Expand All @@ -74,7 +75,7 @@ class ComposeActivity : DrawerActivity() {

setupDrawer(menuItemId)

val colorScheme = viewThemeUtils.material.getScheme(this).toColorScheme()
val colorScheme = viewThemeUtils.getScheme(this).toColorScheme()
schemeFlow = MutableStateFlow(colorScheme)

binding.composeView.setContent {
Expand Down

0 comments on commit 302c853

Please sign in to comment.