From bb620ba39f540b1cad44dbddd4fbb441b6b44a72 Mon Sep 17 00:00:00 2001 From: Ellet Date: Tue, 2 Jan 2024 19:39:16 +0300 Subject: [PATCH] Remove unused comments --- settings.gradle.kts | 2 +- .../net/freshplatform/alrayada_landing_page/MyApp.kt | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/settings.gradle.kts b/settings.gradle.kts index 8c1c842..737458f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -6,6 +6,6 @@ pluginManagement { } } -rootProject.name = "AlrayadaLandingPage" +rootProject.name = "AlrayadaWeb" include(":site") diff --git a/site/src/jsMain/kotlin/net/freshplatform/alrayada_landing_page/MyApp.kt b/site/src/jsMain/kotlin/net/freshplatform/alrayada_landing_page/MyApp.kt index 5c888f0..db165e0 100644 --- a/site/src/jsMain/kotlin/net/freshplatform/alrayada_landing_page/MyApp.kt +++ b/site/src/jsMain/kotlin/net/freshplatform/alrayada_landing_page/MyApp.kt @@ -23,11 +23,8 @@ import org.jetbrains.compose.web.css.px import org.jetbrains.compose.web.css.rgba import org.jetbrains.compose.web.css.vh -//private const val COLOR_MODE_KEY = "alrayada_landing_page:colorMode" - @InitSilk fun initSilk(ctx: InitSilkContext) { -// ctx.config.initialColorMode = localStorage.getItem(COLOR_MODE_KEY)?.let { ColorMode.valueOf(it) } ?: ColorMode.LIGHT ctx.stylesheet.apply { registerKeyframes( @@ -62,10 +59,6 @@ fun initSilk(ctx: InitSilkContext) { @Composable fun MyApp(content: @Composable () -> Unit) { SilkApp { -// val colorMode = ColorMode.current -// LaunchedEffect(colorMode) { -// localStorage.setItem(COLOR_MODE_KEY, colorMode.name) -// } LaunchedEffect(Unit) { updateDocument {