Skip to content

Commit 589d9fc

Browse files
committed
Makes CoveredByModal public.
Held off on this originally because we didn't have a use case. Now we do -- trying to keep a non-workflow system that does its own window management well behaved.
1 parent fb53989 commit 589d9fc

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

workflow-ui/core-android/api/core-android.api

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,12 @@ public final class com/squareup/workflow1/ui/navigation/BackStackContainer$Saved
260260
public synthetic fun newArray (I)[Ljava/lang/Object;
261261
}
262262

263+
public final class com/squareup/workflow1/ui/navigation/CoveredByModal : com/squareup/workflow1/ui/ViewEnvironmentKey {
264+
public static final field INSTANCE Lcom/squareup/workflow1/ui/navigation/CoveredByModal;
265+
public fun getDefault ()Ljava/lang/Boolean;
266+
public synthetic fun getDefault ()Ljava/lang/Object;
267+
}
268+
263269
public final class com/squareup/workflow1/ui/navigation/LayeredDialogSessions {
264270
public static final field Companion Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$Companion;
265271
public synthetic fun <init> (Landroid/content/Context;Lkotlinx/coroutines/flow/StateFlow;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/internal/DefaultConstructorMarker;)V

workflow-ui/core-android/src/main/java/com/squareup/workflow1/ui/navigation/CoveredByModal.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ import com.squareup.workflow1.ui.WorkflowUiExperimentalApi
1212
* https://stackoverflow.com/questions/2886407/dealing-with-rapid-tapping-on-buttons
1313
*/
1414
@WorkflowUiExperimentalApi
15-
internal object CoveredByModal : ViewEnvironmentKey<Boolean>() {
15+
public object CoveredByModal : ViewEnvironmentKey<Boolean>() {
1616
override val default: Boolean = false
1717
}

0 commit comments

Comments
 (0)