tx + trade details outline color fix

This commit is contained in:
julian 2022-11-29 13:45:19 -06:00
parent 4c45487e6e
commit a7bdbe1c79
2 changed files with 8 additions and 7 deletions

View file

@ -214,8 +214,9 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
RoundedWhiteContainer( RoundedWhiteContainer(
borderColor: borderColor: Theme.of(context)
Theme.of(context).extension<StackColors>()!.background, .extension<StackColors>()!
.backgroundAppBar,
padding: const EdgeInsets.all(0), padding: const EdgeInsets.all(0),
child: ListView( child: ListView(
primary: false, primary: false,
@ -281,7 +282,7 @@ class _TradeDetailsViewState extends ConsumerState<TradeDetailsView> {
? BoxDecoration( ? BoxDecoration(
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.background, .backgroundAppBar,
borderRadius: BorderRadius.vertical( borderRadius: BorderRadius.vertical(
top: Radius.circular( top: Radius.circular(
Constants.size.circularBorderRadius, Constants.size.circularBorderRadius,
@ -1197,7 +1198,7 @@ class _Divider extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
height: 1, height: 1,
color: Theme.of(context).extension<StackColors>()!.background, color: Theme.of(context).extension<StackColors>()!.backgroundAppBar,
); );
} }
} }

View file

@ -358,7 +358,7 @@ class _TransactionDetailsViewState
borderColor: isDesktop borderColor: isDesktop
? Theme.of(context) ? Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.background .backgroundAppBar
: null, : null,
padding: const EdgeInsets.all(0), padding: const EdgeInsets.all(0),
child: child, child: child,
@ -382,7 +382,7 @@ class _TransactionDetailsViewState
? BoxDecoration( ? BoxDecoration(
color: Theme.of(context) color: Theme.of(context)
.extension<StackColors>()! .extension<StackColors>()!
.background, .backgroundAppBar,
borderRadius: BorderRadius.vertical( borderRadius: BorderRadius.vertical(
top: Radius.circular( top: Radius.circular(
Constants.size.circularBorderRadius, Constants.size.circularBorderRadius,
@ -1387,7 +1387,7 @@ class _Divider extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Container( return Container(
height: 1, height: 1,
color: Theme.of(context).extension<StackColors>()!.background, color: Theme.of(context).extension<StackColors>()!.backgroundAppBar,
); );
} }
} }