Skip to content

Commit 6c23bd4

Browse files
authored
Remove calc_route_id.
1 parent 02b04bd commit 6c23bd4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

flet_navigator/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -295,10 +295,6 @@ def process(nav: Union['VirtualFletNavigator', 'PublicFletNavigator'], page: Pag
295295
if nav.route_change_callback:
296296
nav.route_change_callback(nxrctx)
297297

298-
@staticmethod
299-
def calc_route_id(routes: Routes, route: str) -> int:
300-
return list(routes.keys()).index(route) + 1
301-
302298
@staticmethod
303299
def find_all_specified_props(routes: Routes, props_map: RouteProperties) -> tuple[str]:
304300
total_props_specified = []

0 commit comments

Comments
 (0)