Skip to content

Commit 881792e

Browse files
committed
add navigation keys
1 parent de34410 commit 881792e

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

  • app/src/main/java/org/schabi/newpipe/navigation
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
/*
2+
* SPDX-FileCopyrightText: 2017-2026 NewPipe contributors <https://newpipe.net>
3+
* SPDX-License-Identifier: GPL-3.0-or-later
4+
*/
5+
6+
package org.schabi.newpipe.navigation
7+
8+
import kotlinx.serialization.Serializable
9+
10+
11+
@Serializable
12+
sealed interface Screen {
13+
14+
sealed interface Settings: Screen {
15+
@Serializable
16+
data object Home : Settings
17+
18+
@Serializable
19+
data object Player : Settings
20+
21+
@Serializable
22+
data object Behaviour : Settings
23+
24+
@Serializable
25+
data object Download : Settings
26+
27+
@Serializable
28+
data object LookFeel : Settings
29+
30+
@Serializable
31+
data object HistoryCache : Settings
32+
33+
@Serializable
34+
data object Content : Settings
35+
36+
@Serializable
37+
data object Feed : Settings
38+
39+
@Serializable
40+
data object Services : Settings
41+
42+
@Serializable
43+
data object Language : Settings
44+
45+
@Serializable
46+
data object BackupRestore : Settings
47+
48+
@Serializable
49+
data object Updates : Settings
50+
51+
@Serializable
52+
data object Debug : Settings
53+
}
54+
55+
}

0 commit comments

Comments
 (0)