This commit is contained in:
Leon Bösche
2026-01-31 18:24:52 +01:00
parent ff4c9bb26c
commit 33f977293d

View File

@@ -626,7 +626,7 @@ class _AccountSettingsDialogState extends State<AccountSettingsDialog> {
alignment: Alignment.center, alignment: Alignment.center,
children: [ children: [
CircleAvatar( CircleAvatar(
radius: 50, radius: 64,
backgroundColor: AppTheme.secondaryText.withValues( backgroundColor: AppTheme.secondaryText.withValues(
alpha: 0.2, alpha: 0.2,
), ),
@@ -926,20 +926,18 @@ class _AccountSettingsDialogState extends State<AccountSettingsDialog> {
onPressed: _showDeleteAccountConfirmation, onPressed: _showDeleteAccountConfirmation,
style: ButtonStyle( style: ButtonStyle(
splashFactory: NoSplash.splashFactory, splashFactory: NoSplash.splashFactory,
overlayColor: WidgetStateProperty.resolveWith<Color?>( overlayColor: WidgetStateProperty.resolveWith<Color?>((
(Set<WidgetState> states) { Set<WidgetState> states,
if (states.contains(WidgetState.pressed)) { ) {
return Colors.transparent; if (states.contains(WidgetState.pressed)) {
} return Colors.transparent;
return null; }
}, return null;
), }),
backgroundColor: WidgetStateProperty.all( backgroundColor: WidgetStateProperty.all(
AppTheme.errorColor, AppTheme.errorColor,
), ),
foregroundColor: WidgetStateProperty.all( foregroundColor: WidgetStateProperty.all(Colors.white),
Colors.white,
),
elevation: WidgetStateProperty.all(0), elevation: WidgetStateProperty.all(0),
shadowColor: WidgetStateProperty.all( shadowColor: WidgetStateProperty.all(
Colors.transparent, Colors.transparent,