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