From febd7b18bec9ce66feec1a1d9a4204bf0edf0b7f Mon Sep 17 00:00:00 2001 From: Nikolas Rimikis Date: Fri, 29 Sep 2023 22:00:21 +0200 Subject: [PATCH] refactor(neon): remove color property from AccountSettingsTile Signed-off-by: Nikolas Rimikis --- .../neon/lib/src/settings/widgets/account_settings_tile.dart | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart b/packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart index 1779e1ed..8ec81116 100644 --- a/packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart +++ b/packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart @@ -8,21 +8,19 @@ import 'package:neon/src/widgets/account_tile.dart'; class AccountSettingsTile extends SettingsTile { const AccountSettingsTile({ required this.account, - this.color, this.trailing, this.onTap, super.key, }); final Account account; - final Color? color; + final Widget? trailing; final GestureTapCallback? onTap; @override Widget build(final BuildContext context) => NeonAccountTile( account: account, - color: color, trailing: trailing, onTap: onTap, );