mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-03-12 09:32:33 +00:00
refactor: deprecated backgroundColor -> colorScheme.background
This commit is contained in:
parent
c893da7a11
commit
719c360b97
2 changed files with 6 additions and 4 deletions
|
@ -193,7 +193,8 @@ class DisclaimerBodyState extends State<DisclaimerPageBody> {
|
|||
gradient: LinearGradient(
|
||||
colors: [
|
||||
Theme.of(context)
|
||||
.backgroundColor
|
||||
.colorScheme
|
||||
.background
|
||||
.withOpacity(0.0),
|
||||
Theme.of(context).colorScheme.background,
|
||||
],
|
||||
|
|
|
@ -321,7 +321,7 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
|
|||
return Stack(
|
||||
children: <Widget>[
|
||||
Container(
|
||||
color: Theme.of(popupContext).backgroundColor,
|
||||
color: Theme.of(popupContext).colorScheme.background,
|
||||
child: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/birthday_cake.png'),
|
||||
|
@ -372,7 +372,7 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
|
|||
return Stack(
|
||||
children: <Widget>[
|
||||
Container(
|
||||
color: Theme.of(popupContext).backgroundColor,
|
||||
color: Theme.of(popupContext).colorScheme.background,
|
||||
child: Center(
|
||||
child: Image.asset(
|
||||
'assets/images/birthday_cake.png'),
|
||||
|
@ -384,7 +384,8 @@ class ExchangeTradeState extends State<ExchangeTradeForm> {
|
|||
child: Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Theme.of(popupContext)
|
||||
.backgroundColor
|
||||
.colorScheme
|
||||
.background
|
||||
.withOpacity(0.25)),
|
||||
child: Center(
|
||||
child: Padding(
|
||||
|
|
Loading…
Reference in a new issue