mirror of
https://github.com/oxen-io/session-android.git
synced 2025-02-18 23:28:26 +00:00
Cleanup
This commit is contained in:
parent
962d4e9a28
commit
351f2d9c57
@ -31,7 +31,6 @@ import androidx.compose.ui.unit.dp
|
|||||||
import network.loki.messenger.R
|
import network.loki.messenger.R
|
||||||
import org.thoughtcrime.securesms.BaseActionBarActivity
|
import org.thoughtcrime.securesms.BaseActionBarActivity
|
||||||
import org.thoughtcrime.securesms.showSessionDialog
|
import org.thoughtcrime.securesms.showSessionDialog
|
||||||
import org.thoughtcrime.securesms.ui.Cell
|
|
||||||
import org.thoughtcrime.securesms.ui.CellWithPaddingAndMargin
|
import org.thoughtcrime.securesms.ui.CellWithPaddingAndMargin
|
||||||
import org.thoughtcrime.securesms.ui.LocalDimensions
|
import org.thoughtcrime.securesms.ui.LocalDimensions
|
||||||
import org.thoughtcrime.securesms.ui.LocalPalette
|
import org.thoughtcrime.securesms.ui.LocalPalette
|
||||||
|
@ -36,7 +36,6 @@ fun SessionMaterialTheme(
|
|||||||
/**
|
/**
|
||||||
* Apply a given [Palette], and our typography and shapes as a Material 2 Compose Theme.
|
* Apply a given [Palette], and our typography and shapes as a Material 2 Compose Theme.
|
||||||
**/
|
**/
|
||||||
@OptIn(ExperimentalMaterialApi::class)
|
|
||||||
@Composable
|
@Composable
|
||||||
fun SessionMaterialTheme(
|
fun SessionMaterialTheme(
|
||||||
palette: Palette,
|
palette: Palette,
|
||||||
@ -96,7 +95,6 @@ fun PreviewTheme(
|
|||||||
SessionMaterialTheme(palette) {
|
SessionMaterialTheme(palette) {
|
||||||
Box(modifier = Modifier.background(color = LocalPalette.current.background)) {
|
Box(modifier = Modifier.background(color = LocalPalette.current.background)) {
|
||||||
content()
|
content()
|
||||||
LocalTextStyle
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user