Use proper phone sheets for chat and Files menus
On phones the chat's More menu, chat list rows and Files entries open a Material bottom sheet headed by the chat or file, with full-width icon rows and destructive actions last in the error colour; desktop menus show icons, a minimum width and destructive actions after a divider. The chat menu drops Run command and Open chats, keeps a single terminal entry and lists Close pane last.
This commit is contained in:
@@ -106,6 +106,8 @@ class ChatThreadHeader extends StatelessWidget {
|
||||
if (action is! SegmentedOverflowable) action,
|
||||
if (settingsEntry != null || menuActions.isNotEmpty)
|
||||
SegmentedMoreButton(
|
||||
sheetTitle: title.isEmpty ? 'Chat' : title,
|
||||
sheetSubtitle: folder.isEmpty ? null : folder,
|
||||
entries: [
|
||||
?settingsEntry,
|
||||
for (final action in menuActions) action.overflowEntry,
|
||||
|
||||
Reference in New Issue
Block a user