mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-30 12:36:00 +02:00
Deletes unused code
This commit is contained in:
parent
6e0701b65d
commit
c686e775bf
@ -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()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user