Merge pull request #122 from cake-tech/CAKE-119-make-qr-code-more-bright-on-the-dark-mode

CAKE-119 | applied white color to qr code on the dark mode (qr widget…
This commit is contained in:
M 2020-10-22 21:29:49 +03:00
commit d881317a76
2 changed files with 4 additions and 3 deletions

View file

@ -44,8 +44,8 @@ class QRWidget extends StatelessWidget {
child: QrImage( child: QrImage(
data: addressListViewModel.uri.toString(), data: addressListViewModel.uri.toString(),
backgroundColor: Colors.transparent, backgroundColor: Colors.transparent,
foregroundColor: foregroundColor: Colors.white,
Theme.of(context).textTheme.headline.color, //Theme.of(context).textTheme.headline.color,
))))), ))))),
Spacer(flex: 3) Spacer(flex: 3)
]), ]),

View file

@ -305,7 +305,8 @@ class Themes {
decorationColor: Palette.darkLavender, // text color (information page) decorationColor: Palette.darkLavender, // text color (information page)
), ),
subtitle: TextStyle( subtitle: TextStyle(
color: PaletteDark.lightBlueGrey, // QR code (exchange trade page) //color: PaletteDark.lightBlueGrey, // QR code (exchange trade page)
color: Colors.white, // QR code (exchange trade page)
backgroundColor: PaletteDark.deepVioletBlue, // divider (exchange trade page) backgroundColor: PaletteDark.deepVioletBlue, // divider (exchange trade page)
decorationColor: Colors.white // crete new wallet button background (wallet list page) decorationColor: Colors.white // crete new wallet button background (wallet list page)
), ),