From 5e0b11c096dc1300e9e5e426fb5fd892a96a8815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Saleniuk?= Date: Fri, 22 Nov 2024 10:42:10 +0100 Subject: [PATCH] fixed test theme --- .../androidTest/kotlin/com/wire/android/ui/WireTestTheme.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/androidTest/kotlin/com/wire/android/ui/WireTestTheme.kt b/app/src/androidTest/kotlin/com/wire/android/ui/WireTestTheme.kt index 003403eb847..eeb5ca1fb16 100644 --- a/app/src/androidTest/kotlin/com/wire/android/ui/WireTestTheme.kt +++ b/app/src/androidTest/kotlin/com/wire/android/ui/WireTestTheme.kt @@ -22,10 +22,12 @@ import androidx.compose.runtime.Composable import androidx.compose.runtime.CompositionLocalProvider import androidx.compose.runtime.remember import com.wire.android.ui.common.snackbar.LocalSnackbarHostState +import com.wire.android.ui.theme.DefaultWireFixedColorScheme import com.wire.android.ui.theme.WireColorScheme import com.wire.android.ui.theme.WireColorSchemeTypes import com.wire.android.ui.theme.WireDimensions import com.wire.android.ui.theme.WireDimensionsTypes +import com.wire.android.ui.theme.WireFixedColorScheme import com.wire.android.ui.theme.WireTheme import com.wire.android.ui.theme.WireTypography import com.wire.android.ui.theme.WireTypographyTypes @@ -33,6 +35,7 @@ import com.wire.android.ui.theme.WireTypographyTypes @Composable fun WireTestTheme( wireColorScheme: WireColorScheme = WireColorSchemeTypes.currentTheme, + wireFixedColorScheme: WireFixedColorScheme = DefaultWireFixedColorScheme, wireTypography: WireTypography = WireTypographyTypes.currentScreenSize, wireDimensions: WireDimensions = WireDimensionsTypes.currentScreenSize.currentOrientation, content: @Composable () -> Unit @@ -41,6 +44,7 @@ fun WireTestTheme( CompositionLocalProvider(LocalSnackbarHostState provides snackbarHostState) { WireTheme( wireColorScheme, + wireFixedColorScheme, wireTypography, wireDimensions, content