Skip to content

Commit

Permalink
remove system option for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Danil0v3s committed Dec 23, 2024
1 parent a4fe454 commit e2e2315
Showing 1 changed file with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fun AppSettingsUi(
StyleCard(
label = "Light",
isSelected = !overlaySettings.isDarkTheme,
modifier = Modifier.weight(.3f).aspectRatio(1.15f),
modifier = Modifier.weight(.5f).height(210.dp),
onClick = { onEvent(SettingsEvent.DarkThemeToggle(false)) },
content = {
Image(
Expand All @@ -75,7 +75,7 @@ fun AppSettingsUi(
StyleCard(
label = "Dark",
isSelected = overlaySettings.isDarkTheme,
modifier = Modifier.weight(.3f).aspectRatio(1.15f),
modifier = Modifier.weight(.5f).height(210.dp),
onClick = { onEvent(SettingsEvent.DarkThemeToggle(true)) },
content = {
Image(
Expand All @@ -86,19 +86,19 @@ fun AppSettingsUi(
}
)

StyleCard(
label = "System",
isSelected = !overlaySettings.isDarkTheme,
modifier = Modifier.weight(.3f).aspectRatio(1.15f),
onClick = { onEvent(SettingsEvent.DarkThemeToggle(true)) },
content = {
Image(
painter = painterResource("icons/dynamic_mode.png"),
contentDescription = "dynamic mode image",
modifier = Modifier.align(Alignment.Center)
)
}
)
// StyleCard(
// label = "System",
// isSelected = !overlaySettings.isDarkTheme,
// modifier = Modifier.weight(.3f).aspectRatio(1.15f),
// onClick = { onEvent(SettingsEvent.DarkThemeToggle(true)) },
// content = {
// Image(
// painter = painterResource("icons/dynamic_mode.png"),
// contentDescription = "dynamic mode image",
// modifier = Modifier.align(Alignment.Center)
// )
// }
// )
}
}

Expand Down

0 comments on commit e2e2315

Please sign in to comment.