add the ability to change your profile per-room

Fixes #177
This commit is contained in:
Henry Hiles 2026-11-26 14:31:24 -05:00
commit 8d4745cc12
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -55,6 +55,10 @@ class const EditableAvatar({
child: Builder(
builder: (context) => IconButton.filled(
tooltip: "Edit avatar",
// The theme's default barely contrasts with the button
style: IconButton.styleFrom(
foregroundColor: Theme.of(context).colorScheme.onPrimary,
),
icon: Icon(Icons.edit),
onPressed: saving.active
? null