refactor: Deprecate accentColor

This commit is contained in:
Christian Pauly 2021-05-24 10:59:00 +02:00
commit 1c81ac3f82
17 changed files with 60 additions and 39 deletions

View file

@ -65,7 +65,7 @@ class SettingsNotificationsView extends StatelessWidget {
title: Text(
L10n.of(context).pushRules,
style: TextStyle(
color: Theme.of(context).accentColor,
color: Theme.of(context).colorScheme.secondary,
fontWeight: FontWeight.bold,
),
),
@ -83,7 +83,7 @@ class SettingsNotificationsView extends StatelessWidget {
title: Text(
L10n.of(context).devices,
style: TextStyle(
color: Theme.of(context).accentColor,
color: Theme.of(context).colorScheme.secondary,
fontWeight: FontWeight.bold,
),
),