diff --git a/lib/src/screens/trade_details/trade_details_page.dart b/lib/src/screens/trade_details/trade_details_page.dart index ded8777fe..17d0f0a7d 100644 --- a/lib/src/screens/trade_details/trade_details_page.dart +++ b/lib/src/screens/trade_details/trade_details_page.dart @@ -27,28 +27,23 @@ class TradeDetailsPage extends BasePage { itemBuilder: (_, __, index) { final item = tradeDetailsViewModel.items[index]; - if (item is TrackTradeListItem) { - return GestureDetector( - onTap: item.onTap, - child: StandartListRow( - title: '${item.title}', - value: '${item.value}' - )); - } + if (item is TrackTradeListItem) { + return GestureDetector( + onTap: item.onTap, + child: StandartListRow( + title: '${item.title}', value: '${item.value}')); + } - if (item is SectionStandardListItem) { - return GestureDetector( - onTap: () { - Clipboard.setData(ClipboardData(text: '${item.value}')); - showBar(context, S - .of(context) - .copied_to_clipboard); - }, - child: StandartListRow( - title: '${item.title}', - value: '${item.value}' - )); - } + if (item is SectionStandardListItem) { + return GestureDetector( + onTap: () { + Clipboard.setData(ClipboardData(text: '${item.value}')); + showBar(context, S.of(context).copied_to_clipboard); + }, + child: StandartListRow( + title: '${item.title}', value: '${item.value}')); + } + }); }); } -} \ No newline at end of file +}