Skip to content

Commit

Permalink
add ViewInstrumentation to nav and reorder nav items to match iOS
Browse files Browse the repository at this point in the history
  • Loading branch information
MustafaHaddara committed Dec 11, 2024
1 parent da90c01 commit c9f8a6f
Showing 1 changed file with 9 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.filled.Home
import androidx.compose.material.icons.filled.Language
import androidx.compose.material.icons.filled.Palette
import androidx.compose.material.icons.filled.Straighten
import androidx.compose.material.icons.outlined.Home
import androidx.compose.material.icons.outlined.Language
import androidx.compose.material.icons.outlined.Palette
import androidx.compose.material.icons.outlined.Straighten
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Icon
import androidx.compose.material3.NavigationBar
Expand Down Expand Up @@ -47,6 +49,7 @@ enum class PlaygroundTab(
CORE("Core", Icons.Outlined.Home, Icons.Filled.Home),
UI("UI", Icons.Outlined.Palette, Icons.Filled.Palette),
NETWORK("Network", Icons.Outlined.Language, Icons.Filled.Language),
VIEW_INSTRUMENTATION("Render", Icons.Outlined.Straighten, Icons.Filled.Straighten)
}

/**
Expand Down Expand Up @@ -103,12 +106,15 @@ fun Playground(
PlaygroundTab.CORE -> {
CorePlayground(otel)
}
PlaygroundTab.UI -> {
UIPlayground()
}
PlaygroundTab.NETWORK -> {
NetworkPlayground()
}
PlaygroundTab.VIEW_INSTRUMENTATION -> {
ViewInstrumentationPlayground()
}
PlaygroundTab.UI -> {
UIPlayground()
}
}
}
}
Expand Down

0 comments on commit c9f8a6f

Please sign in to comment.