Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency com.facebook:ktfmt to v0.49 #1367

Merged
merged 2 commits into from
Apr 28, 2024
Merged
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 @@ -650,12 +650,12 @@ private fun TypeSpec.Builder.buildPresenterFactory(

private enum class FactoryType {
PRESENTER,
UI
UI,
}

private enum class InstantiationType {
FUNCTION,
CLASS
CLASS,
}

private enum class CodegenMode {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ class CircuitSymbolProcessorTest {

private enum class CodegenMode {
ANVIL,
HILT
HILT,
}

private fun assertGeneratedFile(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ public enum class OverlayState {
HIDDEN,

/** Indicates that an overlay is currently showing. */
SHOWING
SHOWING,
}
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ kotlin = "1.9.23"
kotlinpoet = "1.16.0"
kotlinx-coroutines = "1.8.0"
ksp = "1.9.23-1.0.20"
ktfmt = "0.47"
ktfmt = "0.49"
ktor = "2.3.10"
leakcanary = "2.14"
material-composeThemeAdapter = "1.2.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ expect object Platform {

enum class PlatformType {
JVM,
ANDROID
ANDROID,
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import kotlinx.datetime.Instant
interface TokenStorage {
/** Updates the current stored auth data. */
suspend fun updateAuthData(authData: AuthenticationData)

/** Returns the current auth data or null if none are stored. */
suspend fun getAuthData(): AuthenticationData?
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ package com.slack.circuit.star.db
enum class Size {
SMALL,
MEDIUM,
LARGE
LARGE,
}
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ internal fun OrderTacosUi(state: OrderTacosScreen.State, modifier: Modifier = Mo

internal enum class Direction(val icon: ImageVector, @StringRes val descriptionResId: Int) {
LEFT(Icons.AutoMirrored.Filled.ArrowBack, R.string.top_bar_back),
RIGHT(Icons.AutoMirrored.Filled.ArrowForward, R.string.top_bar_forward)
RIGHT(Icons.AutoMirrored.Filled.ArrowForward, R.string.top_bar_forward),
}

@Composable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ data class Ingredient(
enum class Diet(@StringRes val codeResId: Int? = null) {
NONE,
VEGETARIAN(R.string.common_vegetarian),
VEGAN(R.string.common_vegan)
VEGAN(R.string.common_vegan),
}

typealias Cents = Int
Expand Down