Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class MainActivity : ComponentActivity() {
name = "DefaultPreviewLight"
)
@Composable
fun ReplyAppPreviewLight() {
fun ReplyAppPreview() {
ReplyApp(
replyHomeUIState = ReplyHomeUIState(
emails = LocalEmailsDataProvider.allEmails
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

package com.example.reply.ui.theme

import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.darkColorScheme
import androidx.compose.material3.lightColorScheme
Expand All @@ -37,7 +38,7 @@ private val LightColorScheme = lightColorScheme(

@Composable
fun ReplyTheme(
darkTheme: Boolean = false,
darkTheme: Boolean = isSystemInDarkTheme(),
content: @Composable () -> Unit
) {
val replyColorScheme = when {
Expand Down