feat(navigation): regroup Kanban to AUTOMATE and Gateway to INSPECT in navigation drawer (#679)
* feat(navigation): regroup Kanban to AUTOMATE and Gateway to INSPECT in navigation drawer * feat(navigation): change Achievements screen icon to EmojiEvents (trophy)
This commit is contained in:
1 file changed
+12
-11
@@ -12,6 +12,7 @@ import androidx.compose.material.icons.filled.Build
|
||||
import androidx.compose.material.icons.filled.Cloud
|
||||
import androidx.compose.material.icons.filled.Code
|
||||
import androidx.compose.material.icons.filled.Dashboard
|
||||
import androidx.compose.material.icons.filled.EmojiEvents
|
||||
import androidx.compose.material.icons.filled.Extension
|
||||
import androidx.compose.material.icons.filled.History
|
||||
import androidx.compose.material.icons.filled.HistoryEdu
|
||||
@@ -100,11 +101,11 @@ object ScreenRegistry {
|
||||
DrawerSection.AUTOMATE,
|
||||
) { sessionId, openDrawer -> WebhooksScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
GatewayScreen,
|
||||
R.string.screen_gateway,
|
||||
Icons.Filled.Bolt,
|
||||
KanbanScreen,
|
||||
R.string.screen_kanban,
|
||||
Icons.Filled.Dashboard,
|
||||
DrawerSection.AUTOMATE,
|
||||
) { sessionId, openDrawer -> GatewayScreenContent(onOpenDrawer = openDrawer) },
|
||||
) { sessionId, openDrawer -> KanbanScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
SkillsScreen,
|
||||
R.string.screen_skills,
|
||||
@@ -159,6 +160,12 @@ object ScreenRegistry {
|
||||
Icons.Filled.Cloud,
|
||||
DrawerSection.CONFIGURE,
|
||||
) { sessionId, openDrawer -> ProvidersScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
GatewayScreen,
|
||||
R.string.screen_gateway,
|
||||
Icons.Filled.Bolt,
|
||||
DrawerSection.INSPECT,
|
||||
) { sessionId, openDrawer -> GatewayScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
SystemScreen,
|
||||
R.string.screen_system,
|
||||
@@ -189,16 +196,10 @@ object ScreenRegistry {
|
||||
Icons.Filled.AccountBalanceWallet,
|
||||
DrawerSection.INSPECT,
|
||||
) { sessionId, openDrawer -> BillingScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
KanbanScreen,
|
||||
R.string.screen_kanban,
|
||||
Icons.Filled.Dashboard,
|
||||
DrawerSection.INSPECT,
|
||||
) { sessionId, openDrawer -> KanbanScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
AchievementsScreen,
|
||||
R.string.screen_achievements,
|
||||
Icons.Filled.Info,
|
||||
Icons.Filled.EmojiEvents,
|
||||
DrawerSection.INSPECT,
|
||||
) { sessionId, openDrawer -> AchievementsScreenContent(onOpenDrawer = openDrawer) },
|
||||
ScreenDefinition(
|
||||
|
||||
Reference in new issue
Block a user