fixed error causing trade details page to have no contents

This commit is contained in:
Tanner Silva 2021-02-06 14:33:02 -06:00
parent 12d3c03a1b
commit 1f401421ea

View file

@ -32,9 +32,7 @@ class TradeDetailsPage extends BasePage {
onTap: item.onTap, onTap: item.onTap,
child: StandartListRow( child: StandartListRow(
title: '${item.title}', value: '${item.value}')); title: '${item.title}', value: '${item.value}'));
} } else {
if (item is SectionStandardListItem) {
return GestureDetector( return GestureDetector(
onTap: () { onTap: () {
Clipboard.setData(ClipboardData(text: '${item.value}')); Clipboard.setData(ClipboardData(text: '${item.value}'));