Skip to content

Commit

Permalink
[#388] Remove useless Preview annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
florentmaitre committed Dec 21, 2022
1 parent 93ccf59 commit 533e27e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions demo/src/main/java/com/orange/ods/demo/ui/MainScreen.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

package com.orange.ods.demo.ui

import android.content.res.Configuration.UI_MODE_NIGHT_YES
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.animation.fadeIn
import androidx.compose.animation.fadeOut
Expand All @@ -34,7 +33,6 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.res.dimensionResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.tooling.preview.Preview
import androidx.compose.ui.window.Dialog
import androidx.lifecycle.viewmodel.compose.viewModel
import androidx.navigation.NavBackStackEntry
Expand All @@ -57,8 +55,6 @@ import com.orange.ods.theme.OdsThemeConfigurationContract
import com.orange.ods.theme.orange.OrangeThemeConfiguration
import com.orange.ods.utilities.extension.orElse

@Preview(showBackground = true, uiMode = UI_MODE_NIGHT_YES)
@Preview(showBackground = true)
@Composable
fun MainScreen(themeConfigurations: Set<OdsThemeConfigurationContract>, mainViewModel: MainViewModel = viewModel()) {
val isSystemInDarkTheme = isSystemInDarkTheme()
Expand Down

0 comments on commit 533e27e

Please sign in to comment.