Rabbit-R1/switch port/java/sources/androidx/compose/ui/focus/FocusModifierKt.java
2024-05-21 17:08:36 -04:00

24 lines
1.2 KiB
Java

package androidx.compose.ui.focus;
import androidx.compose.ui.Modifier;
import androidx.compose.ui.focus.FocusTargetNode;
import kotlin.Deprecated;
import kotlin.Metadata;
import kotlin.ReplaceWith;
import kotlin.jvm.internal.Intrinsics;
/* compiled from: FocusModifier.kt */
@Metadata(d1 = {"\u0000\n\n\u0000\n\u0002\u0018\u0002\n\u0002\b\u0002\u001a\f\u0010\u0000\u001a\u00020\u0001*\u00020\u0001H\u0007\u001a\n\u0010\u0002\u001a\u00020\u0001*\u00020\u0001¨\u0006\u0003"}, d2 = {"focusModifier", "Landroidx/compose/ui/Modifier;", "focusTarget", "ui_release"}, k = 2, mv = {1, 8, 0}, xi = 48)
/* loaded from: classes.dex */
public final class FocusModifierKt {
public static final Modifier focusTarget(Modifier modifier) {
Intrinsics.checkNotNullParameter(modifier, "<this>");
return modifier.then(FocusTargetNode.FocusTargetElement.INSTANCE);
}
@Deprecated(message = "Replaced by focusTarget", replaceWith = @ReplaceWith(expression = "focusTarget()", imports = {"androidx.compose.ui.focus.focusTarget"}))
public static final Modifier focusModifier(Modifier modifier) {
Intrinsics.checkNotNullParameter(modifier, "<this>");
return focusTarget(modifier);
}
}