diff --git a/app/src/main/java/org/thoughtcrime/securesms/onboarding/recoverypassword/RecoveryPasswordActivity.kt b/app/src/main/java/org/thoughtcrime/securesms/onboarding/recoverypassword/RecoveryPasswordActivity.kt index fec638da3a..a7e1b06ab2 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/onboarding/recoverypassword/RecoveryPasswordActivity.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/onboarding/recoverypassword/RecoveryPasswordActivity.kt @@ -31,7 +31,6 @@ import androidx.compose.ui.unit.dp import network.loki.messenger.R import org.thoughtcrime.securesms.BaseActionBarActivity import org.thoughtcrime.securesms.showSessionDialog -import org.thoughtcrime.securesms.ui.Cell import org.thoughtcrime.securesms.ui.CellWithPaddingAndMargin import org.thoughtcrime.securesms.ui.LocalDimensions import org.thoughtcrime.securesms.ui.LocalPalette diff --git a/app/src/main/java/org/thoughtcrime/securesms/ui/Themes.kt b/app/src/main/java/org/thoughtcrime/securesms/ui/Themes.kt index a1e1f79fd0..93306f0cc2 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/ui/Themes.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/ui/Themes.kt @@ -36,7 +36,6 @@ fun SessionMaterialTheme( /** * Apply a given [Palette], and our typography and shapes as a Material 2 Compose Theme. **/ -@OptIn(ExperimentalMaterialApi::class) @Composable fun SessionMaterialTheme( palette: Palette, @@ -96,7 +95,6 @@ fun PreviewTheme( SessionMaterialTheme(palette) { Box(modifier = Modifier.background(color = LocalPalette.current.background)) { content() - LocalTextStyle } } }