Skip to content

Commit

Permalink
Makes CoveredByModal public.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rjrjr committed Apr 9, 2024
1 parent fb53989 commit 589d9fc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions workflow-ui/core-android/api/core-android.api
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,12 @@ public final class com/squareup/workflow1/ui/navigation/BackStackContainer$Saved
public synthetic fun newArray (I)[Ljava/lang/Object;
}

public final class com/squareup/workflow1/ui/navigation/CoveredByModal : com/squareup/workflow1/ui/ViewEnvironmentKey {
public static final field INSTANCE Lcom/squareup/workflow1/ui/navigation/CoveredByModal;
public fun getDefault ()Ljava/lang/Boolean;
public synthetic fun getDefault ()Ljava/lang/Object;
}

public final class com/squareup/workflow1/ui/navigation/LayeredDialogSessions {
public static final field Companion Lcom/squareup/workflow1/ui/navigation/LayeredDialogSessions$Companion;
public synthetic fun <init> (Landroid/content/Context;Lkotlinx/coroutines/flow/StateFlow;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/functions/Function0;Lkotlin/jvm/internal/DefaultConstructorMarker;)V
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ import com.squareup.workflow1.ui.WorkflowUiExperimentalApi
* https://stackoverflow.com/questions/2886407/dealing-with-rapid-tapping-on-buttons
*/
@WorkflowUiExperimentalApi
internal object CoveredByModal : ViewEnvironmentKey<Boolean>() {
public object CoveredByModal : ViewEnvironmentKey<Boolean>() {
override val default: Boolean = false
}

0 comments on commit 589d9fc

Please sign in to comment.