Skip to content

Commit

Permalink
Make formatWithSkeleton internal (#1609)
Browse files Browse the repository at this point in the history
Fixes:
https://youtrack.jetbrains.com/issue/CMP-6777/Make-formatWithSkeleton-internal

## Release Notes
### Fixes - iOS
- Fixed visibility of
`androidx.compose.material3.internal.formatWithSkeleton` that was
accidently marked as public
  • Loading branch information
ASalavei authored Oct 15, 2024
1 parent fa4c93a commit 2a766f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 0 additions & 4 deletions compose/material3/material3/api/desktop/material3.api
Original file line number Diff line number Diff line change
Expand Up @@ -2839,10 +2839,6 @@ public final class androidx/compose/material3/carousel/CarouselStateKt {
public static final fun rememberCarouselState (ILkotlin/jvm/functions/Function0;Landroidx/compose/runtime/Composer;II)Landroidx/compose/material3/carousel/CarouselState;
}

public final class androidx/compose/material3/internal/CalendarModel_skikoKt {
public static final fun formatWithSkeleton (JLjava/lang/String;Ljava/util/Locale;Ljava/util/Map;)Ljava/lang/String;
}

public final class androidx/compose/material3/pulltorefresh/PullToRefreshDefaults {
public static final field $stable I
public static final field INSTANCE Landroidx/compose/material3/pulltorefresh/PullToRefreshDefaults;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,14 @@ package androidx.compose.material3.internal

import androidx.compose.material3.CalendarLocale
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.internal.PlatformDateFormat


@ExperimentalMaterial3Api
internal actual fun createCalendarModel(locale: CalendarLocale): CalendarModel =
KotlinxDatetimeCalendarModel(locale)


@ExperimentalMaterial3Api
actual fun formatWithSkeleton(
internal actual fun formatWithSkeleton(
utcTimeMillis: Long,
skeleton: String,
locale: CalendarLocale,
Expand Down

0 comments on commit 2a766f0

Please sign in to comment.