Remove accentColor et al. from tests (#78449)
This commit is contained in:
@@ -286,7 +286,7 @@ class StockHomeState extends State<StockHome> {
|
||||
AppBar buildSearchBar() {
|
||||
return AppBar(
|
||||
leading: BackButton(
|
||||
color: Theme.of(context).accentColor,
|
||||
color: Theme.of(context).colorScheme.secondary,
|
||||
),
|
||||
title: TextField(
|
||||
controller: _searchQuery,
|
||||
@@ -310,7 +310,7 @@ class StockHomeState extends State<StockHome> {
|
||||
return FloatingActionButton(
|
||||
tooltip: 'Create company',
|
||||
child: const Icon(Icons.add),
|
||||
backgroundColor: Theme.of(context).accentColor,
|
||||
backgroundColor: Theme.of(context).colorScheme.secondary,
|
||||
onPressed: _handleCreateCompany,
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user