Skip to content

Commit

Permalink
chore: Fix ktlint
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed May 5, 2024
1 parent 7cbfb25 commit 0802383
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
2 changes: 0 additions & 2 deletions app/src/main/java/com/kongjak/koreatechboard/ui/Navigation.kt
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import androidx.compose.material3.NavigationBarItemDefaults
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateOf
import androidx.compose.runtime.remember
import androidx.compose.ui.Modifier
import androidx.compose.ui.res.stringResource
import androidx.navigation.NamedNavArgument
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package com.kongjak.koreatechboard.ui.components
import android.net.Uri
import android.util.Log
import androidx.browser.customtabs.CustomTabsIntent
import androidx.compose.foundation.isSystemInDarkTheme
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.platform.LocalContext
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.kongjak.koreatechboard.ui.components

import android.content.Context
import android.content.res.Configuration
import android.graphics.Bitmap
import android.graphics.Bitmap.CompressFormat
import android.graphics.Color
Expand All @@ -24,10 +23,6 @@ import androidx.compose.runtime.setValue
import androidx.compose.ui.Modifier
import androidx.compose.ui.viewinterop.AndroidView
import androidx.core.graphics.drawable.toBitmap
import androidx.webkit.WebSettingsCompat
import androidx.webkit.WebSettingsCompat.FORCE_DARK_OFF
import androidx.webkit.WebSettingsCompat.FORCE_DARK_ON
import androidx.webkit.WebViewFeature
import coil.imageLoader
import coil.request.ImageRequest
import kotlinx.coroutines.runBlocking
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package com.kongjak.koreatechboard.util

import android.util.Log
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.toArgb
import androidx.compose.ui.text.SpanStyle
Expand Down Expand Up @@ -183,4 +182,4 @@ fun parseSpanStyle(css: String?, isDarkMode: Boolean): SpanStyle {

fun Color.toRaw(): String {
return "rgb(${this.toArgb().red}, ${this.toArgb().green}, ${this.toArgb().blue})"
}
}

0 comments on commit 0802383

Please sign in to comment.