Skip to content

Commit 3c858b5

Browse files
authored
fix: cast Screen and link network factory class (#969)
1 parent 9dd1a94 commit 3c858b5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

composeApp/src/commonMain/kotlin/org/ooni/probe/ui/navigation/BottomNavigationBar.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ fun BottomNavigationBar(
5151
) {
5252
MAIN_NAVIGATION_SCREENS.forEach { screen ->
5353
val isCurrentScreen = entry?.destination?.hasRoute(screen::class) == true
54+
val screen = screen as Screen
5455
NavigationBarItem(
5556
icon = {
5657
NavigationBadgeBox(
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../../commonTest/kotlin/org/ooni/testing/factories/NetworkModelFactory.kt

0 commit comments

Comments
 (0)