refactor: update @Previews to private functions

This commit is contained in:
andrekir 2023-08-19 07:30:47 -03:00
parent 3d31997191
commit 1cdfe59137
26 changed files with 26 additions and 26 deletions

View file

@ -146,7 +146,7 @@ fun ToggleButton(
@Preview(showBackground = true)
@Composable
fun CacheLayoutPreview() {
private fun CacheLayoutPreview() {
CacheLayout(
cacheEstimate = "100 tiles",
onExecuteJob = { },

View file

@ -159,7 +159,7 @@ fun EditWaypointDialog(
@Preview(showBackground = true)
@Composable
fun EditWaypointFormPreview() {
private fun EditWaypointFormPreview() {
AppTheme {
EditWaypointDialog(
waypoint = waypoint {