Browse Source

refactor(neon): remove color property from AccountSettingsTile

Signed-off-by: Nikolas Rimikis <leptopoda@users.noreply.github.com>
pull/886/head
Nikolas Rimikis 1 year ago
parent
commit
febd7b18be
No known key found for this signature in database
GPG Key ID: 85ED1DE9786A4FF2
  1. 4
      packages/neon/neon/lib/src/settings/widgets/account_settings_tile.dart

4
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 { class AccountSettingsTile extends SettingsTile {
const AccountSettingsTile({ const AccountSettingsTile({
required this.account, required this.account,
this.color,
this.trailing, this.trailing,
this.onTap, this.onTap,
super.key, super.key,
}); });
final Account account; final Account account;
final Color? color;
final Widget? trailing; final Widget? trailing;
final GestureTapCallback? onTap; final GestureTapCallback? onTap;
@override @override
Widget build(final BuildContext context) => NeonAccountTile( Widget build(final BuildContext context) => NeonAccountTile(
account: account, account: account,
color: color,
trailing: trailing, trailing: trailing,
onTap: onTap, onTap: onTap,
); );

Loading…
Cancel
Save