The account-switcher TextButton and its DropdownMenu in AccountSwitcher (FolderDrawer.kt) were siblings inside the drawer's outer Column, so the DropdownMenu's Popup anchored to the whole Column (the full-height drawer sheet) instead of the button itself, making it open near the bottom-left rather than below the switcher.
Wrapped the TextButton and DropdownMenu together in a shared Box, the standard Compose pattern for anchoring a dropdown to a specific trigger. No changes to the switcher's appearance or the folder list.
## Summary
- The account-switcher `TextButton` and its `DropdownMenu` in `AccountSwitcher` (`FolderDrawer.kt`) were siblings inside the drawer's outer `Column`, so the `DropdownMenu`'s `Popup` anchored to the whole `Column` (the full-height drawer sheet) instead of the button itself, making it open near the bottom-left rather than below the switcher.
- Wrapped the `TextButton` and `DropdownMenu` together in a shared `Box`, the standard Compose pattern for anchoring a dropdown to a specific trigger. No changes to the switcher's appearance or the folder list.
Closes #147
## Test plan
- [x] `assembleDebug`, `testDebugUnitTest`, `lintDebug`, `ktlintCheck`, `detekt`, `compileDebugAndroidTestKotlin` all pass locally (JDK 21)
- [ ] CI green
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
TextButtonand itsDropdownMenuinAccountSwitcher(FolderDrawer.kt) were siblings inside the drawer's outerColumn, so theDropdownMenu'sPopupanchored to the wholeColumn(the full-height drawer sheet) instead of the button itself, making it open near the bottom-left rather than below the switcher.TextButtonandDropdownMenutogether in a sharedBox, the standard Compose pattern for anchoring a dropdown to a specific trigger. No changes to the switcher's appearance or the folder list.Closes #147
Test plan
assembleDebug,testDebugUnitTest,lintDebug,ktlintCheck,detekt,compileDebugAndroidTestKotlinall pass locally (JDK 21)🤖 Generated with Claude Code