-
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
139 additions
and
166 deletions.
There are no files selected for viewing
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
27 changes: 27 additions & 0 deletions
27
android/src/main/kotlin/dev/msfjarvis/claw/android/ui/navigation/Destination.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* Copyright © 2024 Harsh Shandilya. | ||
* Use of this source code is governed by an MIT-style | ||
* license that can be found in the LICENSE file or at | ||
* https://opensource.org/licenses/MIT. | ||
*/ | ||
package dev.msfjarvis.claw.android.ui.navigation | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
sealed interface Destination | ||
|
||
@Serializable data object Hottest : Destination | ||
|
||
@Serializable data object Newest : Destination | ||
|
||
@Serializable data object Saved : Destination | ||
|
||
@Serializable data class Comments(val postId: String) : Destination | ||
|
||
@Serializable data class User(val username: String) : Destination | ||
|
||
@Serializable data object Search : Destination | ||
|
||
@Serializable data object Settings : Destination | ||
|
||
@Serializable data object AboutLibraries : Destination |
50 changes: 0 additions & 50 deletions
50
android/src/main/kotlin/dev/msfjarvis/claw/android/ui/navigation/Destinations.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.