From b7d090fb9994e2d00256b2f9231b2ad3c3d1f560 Mon Sep 17 00:00:00 2001 From: Till Hellmund Date: Tue, 12 Dec 2023 18:29:54 +0100 Subject: [PATCH] Update API --- stripe-ui-core/api/stripe-ui-core.api | 4 ---- .../java/com/stripe/android/uicore/image/DrawablePainter.kt | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/stripe-ui-core/api/stripe-ui-core.api b/stripe-ui-core/api/stripe-ui-core.api index caab702f71b..ff7f8e37248 100644 --- a/stripe-ui-core/api/stripe-ui-core.api +++ b/stripe-ui-core/api/stripe-ui-core.api @@ -278,10 +278,6 @@ public final class com/stripe/android/uicore/image/ComposableSingletons$StripeIm public final fun getLambda-2$stripe_ui_core_release ()Lkotlin/jvm/functions/Function3; } -public final class com/stripe/android/uicore/image/DrawablePainterKt { - public static final fun rememberDrawablePainter (Landroid/graphics/drawable/Drawable;Landroidx/compose/runtime/Composer;I)Landroidx/compose/ui/graphics/painter/Painter; -} - public final class com/stripe/android/uicore/image/StripeImageKt { } diff --git a/stripe-ui-core/src/main/java/com/stripe/android/uicore/image/DrawablePainter.kt b/stripe-ui-core/src/main/java/com/stripe/android/uicore/image/DrawablePainter.kt index 63a493f0d05..5cb33f33a3a 100644 --- a/stripe-ui-core/src/main/java/com/stripe/android/uicore/image/DrawablePainter.kt +++ b/stripe-ui-core/src/main/java/com/stripe/android/uicore/image/DrawablePainter.kt @@ -1,3 +1,5 @@ +@file:RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) + package com.stripe.android.uicore.image import android.graphics.drawable.Animatable @@ -141,7 +143,6 @@ internal class DrawablePainter( * This function tries to dispatch lifecycle events to [drawable] as much as possible from * within Compose. */ -@RestrictTo(RestrictTo.Scope.LIBRARY_GROUP) @Composable fun rememberDrawablePainter(drawable: Drawable?): Painter = remember(drawable) { when (drawable) {