use m3e iconbuttons

This commit is contained in:
Henry Hiles 2026-09-30 11:47:40 -04:00
commit 98108d013e
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs
4 changed files with 6 additions and 3 deletions

View file

@ -117,7 +117,6 @@ class const Composer(
color: theme.colorScheme.surfaceContainerHighest,
padding: .symmetric(horizontal: 8),
child: Row(
spacing: 8,
mainAxisAlignment: .center,
children:
ref.watch(
@ -127,6 +126,7 @@ class const Composer(
)
? [
IconButton(
style: .new(iconButtonWidth: .narrow),
onPressed: () => showModalBottomSheet(
isScrollControlled: true,
context: context,
@ -141,6 +141,7 @@ class const Composer(
icon: Icon(Icons.emoji_emotions),
),
PopupMenuButton(
style: .new(iconButtonWidth: .narrow),
tooltip: "Add media",
enabled: attachment == null,
itemBuilder: (context) => [
@ -199,6 +200,7 @@ class const Composer(
],
icon: Icon(Icons.add),
),
SizedBox(width: 8),
Expanded(
child: FlutterTagger(
triggerStrategy: .eager,

View file

@ -158,7 +158,6 @@ class const Sidebar({super.key}) extends HookConsumerWidget {
trailing: Padding(
padding: .symmetric(vertical: 16),
child: Column(
spacing: 8,
children: [
PopupMenuButton(
itemBuilder: (_) => [