set up settings home screen navigation

This commit is contained in:
Ida Delphine
2026-07-01 14:37:50 +01:00
parent 730705a283
commit 3741449d7e
3 changed files with 13 additions and 0 deletions
@@ -15,6 +15,13 @@ import net.newpipe.app.model.License
@Serializable
sealed interface Destination : NavKey {
@Serializable
sealed interface Settings: Destination {
@Serializable
data object Home : Settings
}
@Serializable
data object About : Destination
}
@@ -27,6 +27,10 @@ fun navModule() = module {
navigation<Destination.About> {
AboutScreen()
}
navigation<Destination.Settings.Home> {
SettingsHomeScreen()
}
}
/**
@@ -0,0 +1,2 @@
package net.newpipe.app.screen.settings