diff --git a/lib/src/screens/exchange_trade/exchange_trade_page.dart b/lib/src/screens/exchange_trade/exchange_trade_page.dart index dc3a4fb7b..5dd558d23 100644 --- a/lib/src/screens/exchange_trade/exchange_trade_page.dart +++ b/lib/src/screens/exchange_trade/exchange_trade_page.dart @@ -144,13 +144,24 @@ class ExchangeTradeState extends State { child: Center( child: AspectRatio( aspectRatio: 1.0, - child: QrImage( - data: trade.inputAddress ?? fetchingLabel, - backgroundColor: Colors.transparent, - foregroundColor: Theme.of(context) - .accentTextTheme - .subtitle - .color, + child: Container( + padding: EdgeInsets.all(5), + decoration: BoxDecoration( + border: Border.all( + color: Theme.of(context) + .accentTextTheme + .subtitle + .color + ) + ), + child: QrImage( + data: trade.inputAddress ?? fetchingLabel, + backgroundColor: Colors.transparent, + foregroundColor: Theme.of(context) + .accentTextTheme + .subtitle + .color, + ), )))), Spacer(flex: 3) ]), diff --git a/lib/src/screens/receive/widgets/qr_widget.dart b/lib/src/screens/receive/widgets/qr_widget.dart index 0a4551ae6..b479378ed 100644 --- a/lib/src/screens/receive/widgets/qr_widget.dart +++ b/lib/src/screens/receive/widgets/qr_widget.dart @@ -44,11 +44,20 @@ class QRWidget extends StatelessWidget { child: Center( child: AspectRatio( aspectRatio: 1.0, - child: QrImage( - data: addressListViewModel.uri.toString(), - backgroundColor: Colors.transparent, - foregroundColor: Theme.of(context).accentTextTheme. - display3.backgroundColor, + child: Container( + padding: EdgeInsets.all(5), + decoration: BoxDecoration( + border: Border.all( + color: Theme.of(context).accentTextTheme. + display3.backgroundColor + ) + ), + child: QrImage( + data: addressListViewModel.uri.toString(), + backgroundColor: Colors.transparent, + foregroundColor: Theme.of(context).accentTextTheme. + display3.backgroundColor, + ), ))))), Spacer(flex: 3) ]),