Compare commits

..
2 changed files with 4 additions and 7 deletions

6
flake.lock generated
View file

@ -89,11 +89,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1790689126, "lastModified": 1790185690,
"narHash": "sha256-ilerN1WLSvF+HMjziC/Wv99J5y02maDH+6hZPwsORKg=", "narHash": "sha256-xJ+X4hBtOcAFGBOe5nAMyMUeF9foJBmIOu3NjBqBycU=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "b4fd65b198c599cbe814fcb9f42d25d021595ec9", "rev": "4975466d324710c576dc11ad614684e6bd8cad8e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -141,11 +141,8 @@ class const Composer(
icon: Icon(Icons.emoji_emotions), icon: Icon(Icons.emoji_emotions),
), ),
PopupMenuButton( PopupMenuButton(
tooltip: "Add media",
// `style` has no effect due to https://github.com/flutter/flutter/issues/193656, so `padding` is set from material_ui/lib/src/generated/icon_button_defaults_m3e.g.dart manually.
padding: .fromSTEB(4.0, 6.0, 4.0, 6.0),
style: .new(iconButtonWidth: .narrow), style: .new(iconButtonWidth: .narrow),
tooltip: "Add media",
enabled: attachment == null, enabled: attachment == null,
itemBuilder: (context) => [ itemBuilder: (context) => [
if (Platform.isAndroid || Platform.isIOS) if (Platform.isAndroid || Platform.isIOS)