-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor additions for bottom navigation.
- Loading branch information
Showing
6 changed files
with
41 additions
and
14 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
core/navigation/src/main/java/com/nassdk/navigation/Screens.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
package com.nassdk.navigation | ||
|
||
sealed class Screens { | ||
sealed class Screens : NavTarget { | ||
|
||
object Splash : NavTarget { | ||
object Splash : Screens() { | ||
override val route: String = "splash" | ||
} | ||
|
||
object Flow : NavTarget { | ||
object Flow : Screens() { | ||
override val route: String = "flow" | ||
} | ||
|
||
object Flights : NavTarget { | ||
object Flights : Screens() { | ||
override val route: String = "flights" | ||
} | ||
|
||
object Profile : NavTarget { | ||
object Profile : Screens() { | ||
override val route: String = "profile" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters