Anchor desktop Files and Runs menus

Use Material popup menus for file actions and anchor Runs sorting choices to the sort button while retaining the phone fallback. Update callers, tests, and implementation notes to match the desktop behavior.
This commit is contained in:
2026-11-10 22:14:29 +00:00
parent 31f495fc18
commit 42a2378ecb
10 changed files with 73 additions and 194 deletions
@@ -44,7 +44,6 @@ class SessionActionsButton extends StatelessWidget {
@override
Widget build(BuildContext context) {
return AppOverflowMenu<SessionAction>(
cupertino: chatControlsStyleOf(context) == ChatControlsStyle.cupertino,
label: sessionActionsLabel(session, duplicateTitles),
sheetTitle: chatSessionTitle(session),
actions: [