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

@ -32,7 +32,7 @@ class ChatEncryptionSettingsView extends StatelessWidget {
title: Text(L10n.of(context).deviceVerifyDescription),
leading: CircleAvatar(
backgroundColor: Theme.of(context).secondaryHeaderColor,
foregroundColor: Theme.of(context).accentColor,
foregroundColor: Theme.of(context).colorScheme.secondary,
child: Icon(Icons.lock),
),
),