mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-09 12:29:31 +00:00
fixed syntax errors
This commit is contained in:
parent
e08f665e4a
commit
d1c7c99279
1 changed files with 17 additions and 22 deletions
|
@ -31,24 +31,19 @@ class TradeDetailsPage extends BasePage {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: item.onTap,
|
onTap: item.onTap,
|
||||||
child: StandartListRow(
|
child: StandartListRow(
|
||||||
title: '${item.title}',
|
title: '${item.title}', value: '${item.value}'));
|
||||||
value: '${item.value}'
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (item is SectionStandardListItem) {
|
if (item is SectionStandardListItem) {
|
||||||
return GestureDetector(
|
return GestureDetector(
|
||||||
onTap: () {
|
onTap: () {
|
||||||
Clipboard.setData(ClipboardData(text: '${item.value}'));
|
Clipboard.setData(ClipboardData(text: '${item.value}'));
|
||||||
showBar<void>(context, S
|
showBar<void>(context, S.of(context).copied_to_clipboard);
|
||||||
.of(context)
|
|
||||||
.copied_to_clipboard);
|
|
||||||
},
|
},
|
||||||
child: StandartListRow(
|
child: StandartListRow(
|
||||||
title: '${item.title}',
|
title: '${item.title}', value: '${item.value}'));
|
||||||
value: '${item.value}'
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue