Skip to content
This repository was archived by the owner on Sep 7, 2022. It is now read-only.

Commit 9782797

Browse files
author
guanghuispark
committed
Update routes.cs
1 parent f4827c8 commit 9782797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.uiwidgets/Runtime/widgets/routes.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ protected virtual void setState(VoidCallback fn) {
640640
}
641641
}
642642

643-
public RoutePredicate withName(string name) {
643+
public static RoutePredicate withName(string name) {
644644
return (Route route) => !route.willHandlePopInternally
645645
&& route is ModalRoute
646646
&& route.settings.name == name;

0 commit comments

Comments
 (0)