forked from Nexus/nexus
parent
69f175babe
commit
8d4745cc12
1 changed files with 232 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue