mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Do not use theme in the Preview, it breaks the screenshots building.
This commit is contained in:
committed by
Benoit Marty
parent
fd32ef7781
commit
948d4f64f7
+1
-4
@@ -25,7 +25,6 @@ import androidx.compose.runtime.remember
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.tooling.preview.Preview
|
||||
import io.element.android.x.architecture.Async
|
||||
import io.element.android.x.designsystem.ElementXTheme
|
||||
import io.element.android.x.designsystem.components.ProgressDialog
|
||||
import io.element.android.x.designsystem.components.dialogs.ConfirmationDialog
|
||||
import io.element.android.x.designsystem.components.preferences.PreferenceCategory
|
||||
@@ -92,7 +91,5 @@ fun LogoutPreferenceContent(
|
||||
@Composable
|
||||
@Preview
|
||||
fun LogoutContentPreview() {
|
||||
ElementXTheme(darkTheme = false) {
|
||||
LogoutPreferenceView(LogoutPreferenceState())
|
||||
}
|
||||
LogoutPreferenceView(LogoutPreferenceState())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user