mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-08-12 01:07:46 +00:00
feat(desktop): add "All Screens" item before feeds in sidebar
Opens the App Drawer (same as Cmd+K) for quick access to all available screen types. Positioned between main nav and FEEDS section. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
71a38674b0
commit
dd5b61a6f0
+14
-3
@@ -192,11 +192,22 @@ fun MainSidebar(
|
||||
)
|
||||
}
|
||||
|
||||
// -- All Screens --
|
||||
Spacer(Modifier.height(8.dp))
|
||||
HorizontalDivider(modifier = Modifier.padding(horizontal = 12.dp))
|
||||
Spacer(Modifier.height(8.dp))
|
||||
|
||||
SidebarNavItem(
|
||||
icon = MaterialSymbols.Apps,
|
||||
label = "All Screens",
|
||||
isActive = false,
|
||||
expanded = expanded,
|
||||
onClick = onAddColumn,
|
||||
)
|
||||
|
||||
// -- Custom feeds section --
|
||||
if (allFeeds.isNotEmpty()) {
|
||||
Spacer(Modifier.height(8.dp))
|
||||
HorizontalDivider(modifier = Modifier.padding(horizontal = 12.dp))
|
||||
Spacer(Modifier.height(8.dp))
|
||||
Spacer(Modifier.height(4.dp))
|
||||
|
||||
AnimatedVisibility(
|
||||
visible = expanded,
|
||||
|
||||
Reference in New Issue
Block a user