mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-07-28 13:42:54 +02:00
Deletes unused code
This commit is contained in:
@@ -240,16 +240,6 @@ sealed class Route(
|
||||
}
|
||||
}
|
||||
|
||||
// **
|
||||
// * Functions below only exist because we have not broken the datasource classes into backend and
|
||||
// frontend.
|
||||
// **
|
||||
@Composable
|
||||
fun currentRoute(navController: NavHostController): String? {
|
||||
val navBackStackEntry by navController.currentBackStackEntryAsState()
|
||||
return navBackStackEntry?.destination?.route
|
||||
}
|
||||
|
||||
open class LatestItem {
|
||||
var newestItemPerAccount: Map<String, Note?> = mapOf()
|
||||
|
||||
|
Reference in New Issue
Block a user