mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-10-10 10:52:56 +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 {
|
open class LatestItem {
|
||||||
var newestItemPerAccount: Map<String, Note?> = mapOf()
|
var newestItemPerAccount: Map<String, Note?> = mapOf()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user